code icon indicating copy to clipboard operation
code copied to clipboard

Toggle visibility of comments in sourcecode

Open Nine-H opened this issue 8 years ago • 1 comments

it'd be cool to just get comments out of the way while I'm working. I can read code, but I put in extra comments in for people that might not be as fluent as me or lecturers or people I'm having review my source but they distract me when I'm working and make it more difficult to see the structure so I'd like to be able to make them go away temporarily.

Another idea would be pull the comments out of the sourcefile and put them on comment tiles on the right hand side of the screen like for example google docs, but that solution has a ton of issues.

This might be a gtksourceview bug though.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Nine-H avatar May 04 '17 23:05 Nine-H

This effectively requires code-folding which is not well-supported in Gtk.SourceView. It might be worth implementing it ourselves but it is not trivial.

jeremypw avatar Jun 17 '25 14:06 jeremypw