Since version 2.1, WebStorm & PhpStorm both come with a new code highlighting feature. It makes it easier to work with big and complex HTML files, with deep nested tags structure:

Please note that highlighting is only activated when there is more than one tag with the same name in the hierarchy.
By default, only 6 parent tags are highlighted with 6 different colors. You can change the depth to highlight or completely disable the feature in Settings | Editor | Appearance | Enable HTML tag tree highlighting.
Also you can tweak the colors in Settings | Editor | Colors & Fonts | HTML.
Download WebStorm (or PhpStorm, if you use PHP) and try!
This blog is permanently closed.
For up-to-date information please follow to corresponding WebStorm blog or PhpStorm blog.
i really like this Feature
thanks!
The Settings are also present in PyCharm, but the highlights are missing both in the preview and in the editor. Any plans to fully support it in PyCharm?
Sorry, it works ok in PyCharm, I skipped the part with “highlighting is only activated when there is more than one tag with the same name in the hierarchy.”
@Eduard: the feature does not yet fully work for Django templates and all html files are treated as such in a Django project by PyCharm. We plan to have this feature supported in one of next PyCharm versions.
What’s with the absence of eaps?
@Gregorio: Summer
Developers also need to have vacation