Comments (1)
@LeinardoSmith, I looked into adding this enhancement this weekend.
I can add an extension preference that does not draw indent guides on a current line until it contains non-whitespace characters, but I can't back up to previous lines and make them draw the guides as well. Assuming you want this functionality to function the same as Sublime Text, it cannot be done using CodeMirror overlays.
Same problem as the one in issue #11.
CodeMirror overlays only function within the context of the current line that is being parsed. There is no way that I know of to jump to previous lines and parse them again after subsequent line text has been changed.
I am closing this issue as a code challenge. It is a new issue category I created for issues and enhancements that I have unsuccessfully attempted to solve.
What this means is I am stuck and I am asking for help from the community. A link to this issue will go into the extension README.md file so that others can find it and offer ideas and solutions as well. I think this is a better solution than just leaving the issue open forever or closing it as wont fix.
If, at any point in the future, a good solution emerges, I will reopen and add this enhancement.
from brackets-indent-guides.
Related Issues (20)
- Skipping Blank Lines HOT 2
- Add my own shortcut key HOT 4
- Add Preference Hints for version 1.4 HOT 1
- Problem with indent soft wrapping HOT 1
- Are lines supposed to be jagged? HOT 13
- Expand arrow HOT 2
- README.md needs screenshots HOT 1
- Add multiple languages HOT 1
- Indent guides do not work inside Quick Edit windows HOT 1
- Swedish translation HOT 7
- Issue With indentation of Switch Case statement, after new update it's not working fine. HOT 6
- Create Submenu folder to edit settings via menu HOT 4
- Resize guide svg if font is resized HOT 5
- Add toolbar button for toggling Indent Guides HOT 11
- Brackets indent guide appears with dashed lines instead of straight HOT 11
- Ident-guides just for current block HOT 1
- Bold Guide on Item Select
- J.S.Consolas bug for Brackets HOT 1
- Conflict with Emmet HOT 2
- Bracket indent guide is not showing HOT 11
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-indent-guides.