StarlaneStudios / vscode-comment-anchors

⚓A Visual Studio Code extension that adds support for comment anchors 🔭
https://marketplace.visualstudio.com/items?itemName=ExodiusStudios.comment-anchors
MIT License
206 stars 32 forks source link

Folding by Sections #144

Closed lucas-abbate closed 1 year ago

lucas-abbate commented 2 years ago

Hi! I've started using your extension and I'm really enjoying it. I would love that, by using the SECTION tag, it would make it possible to fold the code within the section. By default it is possible to fold blocks of code (like for loops and ifs), but when using it with Anchor, the comments should be inside the block for them to be folded, and I think that makes it look pretty loaded when everything is folded image Hope you can follow my suggestion (and sorry for my bad english) Thanks!

PS: I've tried to follow the guidelines to talk about my suggestion on the Discord server, but the invite on CONTRIBUTING.md is broken. Sorry for not getting feedback on the server

macjuul commented 1 year ago

Sorry for the late response. Section folding is a feature we used to offer however it caused major issues for multiple languages, hence it was removed (#52).

If a better solution to section folding can be found, a PR is always welcome.