Reporter | Dmitry Matveev (dmitry.matveev@jetbrains.com) |
---|---|
Created | Aug 29, 2017 12:19:55 PM |
Updated | Apr 11, 2018 3:50:48 PM |
Resolved | Apr 11, 2018 3:50:48 PM |
Subsystem | Code Style - Formatter |
Assignee | Dmitry Osinovsky (Dmitry.Osinovsky) |
Priority | Critical |
State | Fixed |
Type | Feature |
Fix version | 2018.1 |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
Is there any way to have Comment with Line Comment add the // at the current indent level rather than column 0? This is making for some terrifically ugly code, and when reformatted, the comments move into the proper indenting, capturing that whitespace between the // and the start of the text in that line. Then, uncommenting the line leaves the line double-indented.
There should be code style options for at minimum:
1. insert line comment // at [column 0, before text]
2. include space between // and text in line comments? (allowing //this style and // th is style)
original: https://www.jetbrains.com/help/rider/2017.1/Coding_Assistance__Comment_Uncomment_Code.html#comment-3463673035
There should be code style options for at minimum:
1. insert line comment // at [column 0, before text]
2. include space between // and text in line comments? (allowing //this style and // th is style)
original: https://www.jetbrains.com/help/rider/2017.1/Coding_Assistance__Comment_Uncomment_Code.html#comment-3463673035