-
Notifications
You must be signed in to change notification settings - Fork 4.8k
[Feature Request] UDL folding regions by indentation level (or otherwise), and folding-related styling #9734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
udl
Everything related to User Defined Language
Comments
It's been a long time people asking for this feature and I hope they will work on it. Devs can you add this feature to the user lexer please ? |
In LexUser.cxx ( the general Lexer for UDLs ), I tested some code in the empty
The result: Folding for Markdown! Reference: LexIndent.cxx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I love use notepad++ for taking notes. I categorize notes by indentation level, because the YAML language format then lets me fold sections by category. You can see the advantages in this video.
This technique is so powerful that I could write an 800 page textbook, indent it by chapters, sections, definitions, etc., and despite being a single 10,000+ line file, it would still be easy to navigate, view, and edit.
It's not likely that many people use this "feature" in similar ways, but I think this idea is strong enough to warrant at least some consideration to implement it as a more fleshed out (and intended) feature.
Similar ideas relating to configurable UDL folding behaviour have been suggested:
The text was updated successfully, but these errors were encountered: