Hi there.
I have used Sublime Text in different times, but I always find myself going back to another editor because of the (mainly lack of) code folding system. I really want to give it another opportunity, for in may other regards it is great.
So, do you know any good alternative (package) for fixing Sublime´s native behaviour? Specifically, how to:
-
Completely deactivate the default code folding based on indentation, so inconvenient.
-
Set a specific syntax code for folding/unfolding. This is, establish personalized start and end markers for the folding. In my case, I use the editor for Python, and I would like to use “#+” and “#-”
-
Include the last line (the one with the “#-” marker) in the folding, as is the case in any editor that gives you a “+” when collapsed and a “-” when uncollapsed. I mean, that the endmark line should also disappear when code is folded.
-
On that topic, have those symbols ("+" and “-”) on the left, much more intuitive than the triangles now used by Sublime.
With the package “SyntaxFold” I have managed to do number 2, but not the rest.
Maybe it is possible tweaking some parameters of its code somewhere?
In short, I am really surprised about the (lack of) proper code folding options in Sublime.
I really think it is kind of a basic feature in a professional text editor…
Many thanks for your help and all the best.