You can configure this behavior with the Move caret down after Comment with Line Comment action option on the Advanced Settings page of JetBrains Rider settings Ctrl+Alt+S. You can configure this option for different languages separately, for example, for C# it is on the Editor | Code Style | C# | Tabs, Indents, Alignment page of JetBrains Rider settings Ctrl+Alt+S.īy default, after commenting with a line comment, the caret automatically moves to the next line so that you can continue typing. If there is no selection, JetBrains Rider will comment the current line, or uncomment if the line is commented, and moves the caret to the next line.Īccording to the Don't indent comments started at first column option, the comment will be added with or without the indent.
0 Comments
Leave a Reply. |