brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

Code folding in jade, strict-sass and other indentation based languages. #13169

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by AhoyLemon Thursday Apr 30, 2015 at 14:23 GMT Originally opened as https://github.com/adobe/brackets/issues/11030


This is related to #11006, but that issue was closed and I thought this needed a more widespread solution.

Out of the box, the new brackets code folding doesn't kick in for indentation based languages without brackets, most notably jade and sass (.sass syntax, .scss syntax works great)

The fix@thehogfather recommends is to set "code-folding.alwaysUseIndentFold": true in your .brackets.json file, which works great, but I wouldn't have known about that without finding and following the referenced issue.

I think it would be terrific to turn on this folding by default for jade and .sass, or, failing that, more obvious help to turn this fold-by-indent setting on globally.

core-ai-bot commented 3 years ago

Comment by AhoyLemon Thursday Apr 30, 2015 at 14:30 GMT


Or maybe this would be best resolved in the ForbesLindesay/jade-brackets plugin? I'd be happy to try to make a fork of@ForbesLindesay to address this, but I'm not yet sure what the settings would be.