GithubHelp home page GithubHelp logo

Comments (9)

thehogfather avatar thehogfather commented on July 20, 2024

This would be a useful feature. I haven't done much with the brackets persistence api and would be willing to explore it to support this feature. But if you are familiar with the persistence api, and have some time to work on the feature then that would be welcome as well. Just send a pull request :). For now I shall explore and keep you posted on this thread.

Cheers

from brackets-code-folding.

wernerglinka avatar wernerglinka commented on July 20, 2024

Sorry, I just learned about brackets last week and don't know anything about a persistence API. My initial thought was to use local storage which would maintain state on a computer which would be good enough for me. I looked for but could not find any reference to a persistence API. Any pointers?
The author of the bookmarks extension has a todo for making bookmarks persistent, he would probably use the same mechanism. I'll leave him a message and see what he can tell me.

from brackets-code-folding.

thehogfather avatar thehogfather commented on July 20, 2024

Ah no worries dude :). I had a tinker today and have a version working. I will push an update that you can test by the end of the day. And fyi (for future ref), the Persistence api can be found in preferences/* directory.

from brackets-code-folding.

wernerglinka avatar wernerglinka commented on July 20, 2024

You are da man! I just came across Brackets and was blown away. I have tried many in the search for a clean looking editor and man has this one hit bulls eye. Thanks again for your work on this critical extension.

from brackets-code-folding.

thehogfather avatar thehogfather commented on July 20, 2024

Please fetch the latest version, test it out and don't forget to report bugs!

from brackets-code-folding.

wernerglinka avatar wernerglinka commented on July 20, 2024

Initial test looks good. No problems. Will test more extensively later today.

from brackets-code-folding.

wernerglinka avatar wernerglinka commented on July 20, 2024

Btw, did you know that by adding .php to the vars in main.js your extensions seems to work also with php files. I made a local change and it has been working nicely.

Line 50
_braceCollapsibleExtensions = [".js", ".css", ".less", ".json", ".php"],
_tagCollapsibleExtensions = [".xml", ".html", ".xhtml", ".htm", ".php"],

from brackets-code-folding.

thehogfather avatar thehogfather commented on July 20, 2024

👍 good shout. I'd push on next update.

from brackets-code-folding.

wernerglinka avatar wernerglinka commented on July 20, 2024

I used Brackets the whole day, typical day developing html/css/javascript. Switched between different projects multiple times... no problems encountered. Thanks again for implementing this so quickly. Time for a beer...

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.