Sublime Forum

Customize Folder Marker

#1

I’d love to be able to (dynamically) customize the folder marker. Having custom fold markers could allow for some pretty amazing plugins.

So instead of “…”, we could have text such as “Methods”, or “A”, “B”, “C”…

0 Likes

#2

Yeah nice idea, +1 from me!

I imagine that this could be done with a special keyword in a comment. I believe that Visual Studio has something like this?

// #REGION methods
function () { ... }
// #ENDREGION

In theory, that should also support nested regions:

// #REGION methods
// #REGION accessors
function getId() { ... }
// #ENDREGION
// #REGION mutators
function setId() { ... }
// #ENDREGION
// #ENDREGION
0 Likes