Comments (5)
I take it you mean to open or close all foldable regions of code?
If so, then currently this is not implemented. Although I am now aware that a few people might find such a feature useful. Perhaps it is usefuk to think clearly about how this feature might work. For example foldable code can be nested within each other to an arbitrary level ...
Did you have specific ideas about how this feature might work?
from brackets-code-folding.
Yes it's a mistake I wanted to say " a way to close or open all foldable codes at once" ...
I thought at a simple button at the top of the lines column. A "Super Button" which toggle all the foldable codes opened or closed. Usefull when you open a CSS file of 3000 lines and that you don't want to close all the foldable codes one by one.
from brackets-code-folding.
@Dammmien Note that this is currently only enabled for .css or .less files since they have a flat structure i.e. they usually don't have 'nested folds'. To access the feature, rightclick inside a .css or .less file and collapse all.
Disclaimer: I havent tested this with a lot of lines of code-- i expect performance would be slow on 3000 lines :S
from brackets-code-folding.
I just update the extension and test this new features : that works like a charm !!
However the css files can have 'nested folds' if you are using media queries for example. But i tested and the extension close the media queries rules and the css inside is open. This is not a problem for me, it is already very well.
Regarding performance, I tested on a 1000 lines file. The closure of all the folders is almost instantaneous, good job !!
from brackets-code-folding.
Sweet! I shall close this for now, but feel free to reopen if you come across any issues.
from brackets-code-folding.
Related Issues (20)
- code folding breaking on titled for loops HOT 3
- not work fine in this case, javascript
- Use character '|' on spanish keyboards HOT 2
- wrong fold marks when editing or removing folded code region
- inaccurate fold marks added to document when a folded code region is removed
- Not working at all since last update HOT 6
- Error using latest release HOT 8
- Uncheck "Enable code folding" from the settings issue HOT 4
- Beginning of lines in files are occluded HOT 13
- Version 0.3.4 doesn't fold HOT 3
- Ctrl+Shift+arrow causes error and weird behaviour HOT 4
- version not compatible :( HOT 4
- VI support for code folding HOT 2
- Not updated for 1.5 HOT 1
- What about Jade folding? HOT 1
- (imho) code-folding overloads state.json? HOT 2
- Unable to install extension HOT 2
- shortcut on W7
- Not compatible with current Brackets Version. HOT 1
- sprint 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brackets-code-folding.