Even if a line is partly selected, the comment mark is inserted in the beginning of this line.Īn alternative way to uncomment any line comment is to place the caret at this line, press Alt+Enter and choose Uncomment. If there is a selection, JetBrains Rider will comment or uncomment all the lines that the selection spans. 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 Control+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 Control+Alt+S.īy default, after commenting with a line comment, the caret automatically moves to the next line so that you can continue typing. In your case it does exactly what you want, inserts a blank line between first and second lines. If your regex engine is Java, you may use R to match any line break and h instead of s to match any horizontal whitespace: See this regex demo. If multiple -m options are given, their values are concatenated as separate paragraphs. 'filler fillerfiller fillerfiller fillerfiller filler ' fprintf (temporaryvariable, y1) which is passing two arguments to fprintf, the first of which will be used as the format to use. Use two -message / -m options, first one for the subject and second one for the body. 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. temporaryvariable 'filler fillerfiller filler.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |