thehogfather / brackets-code-folding

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

VI support for code folding #138

Closed rick4470 closed 9 years ago

rick4470 commented 9 years ago

I'm not sure if this is a feature already or not. I'm using the brackets vim plugin and the code folding works correctly except when I start to navigate through the document with k j each of the folds start to open automatically once the cursor is placed over them, is their a way to disable this?

Example of code folding with vim and brackets

thehogfather commented 9 years ago

At the moment that is not currently an option as the code-folding extension uses the default code mirror properties for marking text regions. The relevant property is clearOnEnter: true see here. May I ask whether you are using the default Code-folding extension shipped with Brackets or have you explicitly installed the extension from the registry?

rick4470 commented 9 years ago

Thanks for the quick response, if it's not a an option i'm going to go ahead and close this issue then. Thought I would ask though, I'm using the default code folding that comes with Brackets.