Sublime Forum

Current position within CSS/LESS tree

#1

Is there a setting or plugin that shows me the current position/location/scope/tree of my cursor when in CSS/LESS and or other code? A good place for this would be the status bar at the bottom on the program.

For example in this screenshot I would like to know if I am in body .container .main .right or body .container .footer .right.
http://i.imgur.com/fuhhn7b.png

This could also be useful in XML, HTML and many other files I imagine.

0 Likes

#2

Not really answer to your question, but if you really have that kind of depth on LESS you are, most likely, doing it wrong.
You may want to take a look into BEM.

More about BEM.

0 Likes