thehogfather / brackets-code-folding

Code folding extension for brackets IDE
134 stars 42 forks source link

Region code folding addon #71

Closed keleko34 closed 10 years ago

keleko34 commented 10 years ago

At the moment to use it looks for the syntax of //Region for the start fold line and //Endregion for the end fold line, in html it will look for the syntax of <!--Region for the start line and <!--Endregion for the end line, it will grab the length of the start region to still show so when folded you can still see the name of the region. I would like to change this though so that maybe you can use comments such as / NAME / and / END NAME / or and where it sees the end comment and searches reversely through the lines for the comment containing the same name in the end comment and creating fold points, later maybe, would probably be less like copying microsoft...

thehogfather commented 10 years ago

Thanks.