Show HN: Making #regions actually useful in VSCode

(github.com)

11 points | by alyt 19 hours ago

2 comments

  • alyt 19 hours ago
    Btw, another extension I'd personally recommend is Region Highlighter by 'Wiensss', which makes regions easier to see in the editor itself by coloring them, and also provides a command for making regions (although it is limited in language support). I don't currently use any other region extensions.

    Region Highlighter: https://marketplace.visualstudio.com/items?itemName=Wiensss....

  • badmonster 12 hours ago
    Is there any plan to support nested region collapsing/expanding directly from the editor, similar to how VSCode handles folding for functions or classes?
    • alyt 9 hours ago
      I might be misunderstanding what you're asking, but VSCode already makes regions foldable by default.

      That said, my extension does support regions in more languages than VSCode currently supports, so maybe you're thinking of a particular language in which VSCode doesn't make regions foldable, that my extension could fill the gap for?