Geany text editor commenting

CommentsText EditorGeany

Comments Problem Overview


Is there a way to highlight a section of code to be commented out in one swoop using geany text editor?

Comments Solutions


Solution 1 - Comments

Control-E to toggle commenting.

Solution 2 - Comments

Yes there is, you just have to highlight the code you want to comment then right-click, mouse over format and and click on "Comment Line(s)" to comment the lines. To uncomment,instead of selecting "Comment Line(s)" select "Uncomment Line(s)".

Solution 3 - Comments

Control + E

Edit default comment: Preferences > Editor > Features > Comment toggle marker

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionSpencer CooleyView Question on Stackoverflow
Solution 1 - CommentsishmaelView Answer on Stackoverflow
Solution 2 - CommentsCupOfTeaView Answer on Stackoverflow
Solution 3 - CommentsChrisView Answer on Stackoverflow