thehogfather / brackets-code-folding

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

Use indentation for unsupported modes #39

Closed ForbesLindesay closed 10 years ago

ForbesLindesay commented 10 years ago

Although not often enforced, most languages support/encourage you to indent your code in sensible ways. It would be great if code-folding was applied based on indentation for all un-supported languages.

thehogfather commented 10 years ago

Great idea. I've updated the extension with this feature -- although a possible (un)desirable side effect is that even plain text files now get folding suggestions based on indentations. perhaps not such a bad thing.

ForbesLindesay commented 10 years ago

I think even with a plain text file, if I've added indentation that probably represents some kind of nesting.

Thanks for including this :)