Sublime Forum

How to distinguish active hierarchies for tag and tab

#1

Situation: HTML, Plaintext and Markdown editing text blocks, the active tag is not always underlined.
What would be nice and standard is active tag gets a special background color.
Taking it to a professional coding environment, tmTheme file could include diminishing color-tone emphasis for active grandchild-child-parent-grandparent tags. Say the guide is white or black (light and dark), then code-line Guide highlighting stands out with diminishing shading as one’s eyes move from active grandchild to active grandparent tag.
Can Sublime handle color coding for four hierarchies in a simple html tag cascade?

Web editors all follow the tag cascade. We are just asking for Sublime to display the top four (4) items in tag (and tab, see below) cascades. Sublime knows just what to do when you enter ‘</’. So sublime could offer Guide highlighting to visually show the active html and markdown tag cascade. Not exclusively, either: HAML. PHP and everything else with a cascade hierarchy could really use that enhancement. A Sublime universal coding backbone.

ST3’s limited theme options for tags (that also totally ignore most-recent active tab hierarchies): tm themes are off-track (though not completely irrelevant), but showing here to illustrate a somewhat unfriendly aspect of an otherwise excellent set of built in coding considerations provided for Sublime users.

bracketsForeground
#F8F8F2A5
bracketsOptions
solid_underline
bracketContentsForeground
#F8F8F2A5
bracketContentsOptions
underline
tagsForeground
#ffff00
tagsOptions
stippled_underline

0 Likes

New double-tag focus
#2

Regarding tabs: OS X makes Sublime much more stable than PC in this sense.

Open ten pages, each subsequent tab an extraction version of the primary edit. Now edit them all… Better remember exactly where you left off with all those open, unsaved pages. Now, end of your day? No problem. Command-Q saves everything just the way you left it. Yes, Mac let’s you save it later.

I think Sublime must be written for PC users, which could be problematic. How do you program any hierarchy to facilitate Mac use, when PC use cannot utilize those assets. Further, where most use is PC, why program for Mac? Machine build is mentioned here because it is relevant to eventual resolution or enhancement for machines on the Sublime platform. Which evidently tends to put a stick in the wheels of tab shading hierarchies (for ST3, but ST4?), as discussed for Sublime tags cascade, above. Display hierarchies for most recent tabs and for cascade tags are largely ignored by Sublime. it would be nice if v4 ca change that.

0 Likes