-
Notifications
You must be signed in to change notification settings - Fork 28.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minimap and Syntaxes - A means of distinguishing between code folding and region markers/headers #213275
Comments
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
Aren't regions supposed to be manually defined by the programmer and not by an extension? |
That may well have been the intention but currently the following: "folding": {
"markers": {
"start": "^\\s*(Private|Protected|Friend|Public|Sub|Function|If|While|Do|For|Loop)\\b",
"end": "^\\s*(End|Next|Wend)\\b"
}
}, is adding to the minimap, where I imagine it really shouldn't be... |
I think related to this are #219561 and #209904 — since the section headers are defined by the language configuration, perhaps customizing the tags would be sufficient to workaround this, if the Even if that feature is accepted, it does seem like there should be a way to control the different header types:
|
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
Yeah I think you're right, thanks for the headsup :) |
🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
#190759 added headers wherever there is a region. Correct me if I'm wrong, but regions are also the only way to define code-folding.
As a result some language extensions which have enabled regions on loops (for collapsability) now have minimap markers, making the map look quite cluttered:
Might be worth being able to distinguish in syntax between regions for folding, and markers for minimap.
The text was updated successfully, but these errors were encountered: