![]() For example, with C++ (line comment chars "//"), line with 4 leading spaces: With option on, plugin tries to insert comment chars into leading space-area of the line. (Line commands) Try to keep text position after (un)commenting Plugin "Comments" has several options, and it gives the dialog to change them: menu item "Options / Settings-plugins / Comments / Config". Range comments: in additional file data/lexlib/*.cuda-lexmap.Line comments: in lexer file data/lexlib/*.lcf.In dialog tab "Commenting" you'll see input fields.Ĭommand "Toggle stream comment" in plugin adds/removes comments of last 2 types: for range, for full lines (plugin chooses needed kind). PowerShell lexer supports comments for full lines, while don't support comments for any range.Ĭomment chars are editable in SynWrite editor, in dialog "Lexer properties" (after you install the same lexer to SynWrite). used in PowerShell.įor example, Python lexer supports only line comment, and don't support stream comments. Comments for full lines: from newline to another newline, ie comment for several whole lines.Comments for range ( Stream comments): from some text position to some bigger text position, often in the different line.in C lexer: "//text here", in Python lexer: "# text here". Line comments: from some position to the nearest end-of-line.Plugin supports only adding/removing of comments, not syntax highlighting for them (highlighting is lexer's work). It gives about 6 commands in menu "Plugins / Comments". You can add/remove code comments, via "Comments" plugin. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |