You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Minimap and Syntaxes - A means of distinguishing between code folding and region markers/headers #213275
#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.
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.
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 editor.minimap.sectionHeaderDetectionRegExp regex didn't match?
Even if that feature is accepted, it does seem like there should be a way to control the different header types:
MARK: (now: hardcoded, possible future: sectionHeaderDetectionRegExp matches)
folding.markers in language-configuration.json. This seems to affect some languages more than others, maybe due to some other regex matching?
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.
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 editor.minimap.sectionHeaderDetectionRegExp regex didn't match?
Even if that feature is accepted, it does seem like there should be a way to control the different header types:
MARK: (now: hardcoded, possible future: sectionHeaderDetectionRegExp matches)
folding.markers in language-configuration.json. This seems to affect some languages more than others, maybe due to some other regex matching?
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.
Activity
vscodenpa commentedon Jun 3, 2024
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!
spartanatreyu commentedon Jun 5, 2024
Aren't regions supposed to be manually defined by the programmer and not by an extension?
sancarn commentedon Jun 5, 2024
That may well have been the intention but currently the following:
is adding to the minimap, where I imagine it really shouldn't be...
ian-h-chamberlain commentedon Jul 1, 2024
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
editor.minimap.sectionHeaderDetectionRegExpregex didn't match?Even if that feature is accepted, it does seem like there should be a way to control the different header types:
MARK:(now: hardcoded, possible future:sectionHeaderDetectionRegExpmatches)folding.markersinlanguage-configuration.json. This seems to affect some languages more than others, maybe due to some other regex matching?vs-code-engineering commentedon Jul 24, 2024
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!
sancarn commentedon Jul 24, 2024
Yeah I think you're right, thanks for the headsup :)
vs-code-engineering commentedon Aug 20, 2024
🙁 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!