jamalsenouci / sublimetext-syntaxfold

Sublime Text Plugin that provides a configurable command and popup for folding code based on syntax
MIT License
40 stars 6 forks source link

Feature Request: Automatically Fold all Regions in 1 Line in a Box with Name ( even Sub-Regions ) #38

Open Jobauma opened 5 years ago

Jobauma commented 5 years ago

Hi. :)

I wondered if you can make everything between "#region" and "#endregion", including "#region" and "#endregion" in a box, when folded ( nothing outside ). When unfolded the name after "#region" is in a box too, with the name ( even when unfolded ). Clicking the box unfolds and folds the region. :)

I've noticed that regions inside regions are not folded. Can this be solved? :)

Another idea is that everything is folded by default ( no need to save states ). Even when copying code into Sublime Text, the regions automatically folds.

An additional thing would be an arrow to the left ( like with "{" and "}" ), if possible. :)

I hope this is something that can be implemented.

Best regards, Johannes Hillestad Baumann

Jobauma commented 5 years ago

Sorry. I meant regions outside regions are not folded. Sub-regions are folded. :)

Can this be fixed?

Best regards, Johannes Hillestad Baumann