GithubHelp home page GithubHelp logo

Comments (5)

thehogfather avatar thehogfather commented on July 20, 2024

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.

Dammmien avatar Dammmien commented on July 20, 2024

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.

thehogfather avatar thehogfather commented on July 20, 2024

@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.

Dammmien avatar Dammmien commented on July 20, 2024

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.

thehogfather avatar thehogfather commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.