code
code copied to clipboard
when code is written i would like to close functions. by hiding the contents.
see visual studio code you can collapse a function whichj only shows the function name and not the code in side the function.
Since code uses gtksourceview, I don't think it will be possible to have code folding until gtksourceview supports it. It is still a todo item on its roadmap https://wiki.gnome.org/Projects/GtkSourceView/RoadMap
Removing the bounty label as there is not yet a bounty for this issue as well as the bitesize label because this looks a little more complex.
Bumping, as I'm not sure if this has been revisited since 2018 and I would very much also like code folding in Code.
Tepl looks to have some of the stubs now. https://gitlab.gnome.org/search?search=code+fold&group_id=4001&project_id=859&scope=&search_code=true&snippets=false&repository_ref=master&nav_source=navbar
Specifically, https://gitlab.gnome.org/Archive/tepl/-/blob/master/tepl/tepl-gutter-renderer-folds.h