Comments (9)
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.
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.
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.
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.
Please fetch the latest version, test it out and don't forget to report bugs!
from brackets-code-folding.
Initial test looks good. No problems. Will test more extensively later today.
from brackets-code-folding.
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.
👍 good shout. I'd push on next update.
from brackets-code-folding.
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)
- 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.