Closed sancarn closed 4 months ago
I noticed this during development too, but thought it might just be a VSCode thing. I haven't specifically developed anything for the mini map. I'll look into it though.
Ahhh it could have something to do with code-folding...
Found the relevant PR: https://github.com/microsoft/vscode/pull/190759
It adds section headers to the minimap, sourced from region markers
So my guess is some areas are being marked as regions by the grammar (or something) which shouldn't be?
Yes, good call. After some digging, I figured out the client extension is flagging folding ranges as named regions. Removing that section from vba.language-configuration.json
removes the names from the minimap. You can also disable this with "editor.minimap.showRegionSectionHeaders": false
.
Now to figure out why it thinks folding ranges are regions...
Resolved in 5e425d8 but not worth publishing a patch.
Describe the bug
The minimap seems to highlight a bunch of different lines for seemingly no reason?
E.G.
Each accChild ...
andEach accDesc ...
andlength > 0 and index < length
I imagine these aren't arbitrary... But not sure.
To Reproduce
I opened stdAcc with the extension
Code (if relevant)
For instance:
Expected behavior
I would expect function declares are meant to be listed alone?