Comments (2)
No problem. This would be possible and fairly easy to implement.
Just to check though if you are happy indenting your code then sublime text offers folding based on indentation so in your example above if you indented line 6 then fold markers should appear in the gutter.
from sublimetext-syntaxfold.
Please, also take into consideration that nested folding blocks' markers may be prepended via whitespace characters. Currently the plugin doesn't support this and expects the marker to be exactly at line start.
from sublimetext-syntaxfold.
Related Issues (20)
- does absolutely nothing HOT 2
- Code folding not including trailing whitespace
- Can't make folding work HOT 4
- Nested folds HOT 1
- Nothing happens when i do "alt+*anything*" HOT 2
- No start or end markers found
- Feature: Toggle Current Fold HOT 1
- Improvement: Reduce visible text when collapsed
- Only Command Palette commands work HOT 2
- "At least start marker must be specified. Aborting request." HOT 1
- feature_request(enhancement): single line folding
- toggle_fold_current minor annoyance
- Cannot use these characters as start/end markers. HOT 2
- Feature Request: Automatically Fold all Regions in 1 Line in a Box with Name ( even Sub-Regions ) HOT 1
- Syntaxfold aborts when one entry has no start or end markers.
- Update package control HOT 3
- Doesn't seem to work in SublimeText 4 HOT 2
- Fold all not working HOT 2
- TypeError: String required
- How to set rules for HTML files containing JS code?
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 sublimetext-syntaxfold.