Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ - hierarchical HTML coloring

I saw a video where dude had colors in WebStorm (subset of IntelliJ afaik) configured like this:

enter image description here

What is the way to configure IntelliJ to use such coloring (like different element color per layer)?

like image 615
Xorty Avatar asked Nov 30 '25 03:11

Xorty


1 Answers

it's used by default - no need to configure anything. If multiple tags of the same type (div, ul, etc) are nested within each other, focusing the nested tag causes the hierarchy to be highlighted. Colors can be configured in Settings/Editor/color&Fonts/HTML, Tag tree (level*)

like image 150
lena Avatar answered Dec 04 '25 00:12

lena



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!