简体   繁体   English

在处理 HTML 文件时在 vscode 中,有没有办法为开始和结束标签之间的标识着色?

[英]In vscode when working on HTML file, is there a way to color the idents between the opening and closing tags?

I have color bracket and it works great in js files where you can clearly see the nesting of functions etc. I want that same thing but in the HTML file so the ident would be colored.我有颜色括号,它在 js 文件中效果很好,你可以清楚地看到函数的嵌套等。我想要同样的东西,但在 HTML 文件中,所以标识会被着色。

So now I'm actively in the ul indent and I want it to be colored:所以现在我积极地在 ul 缩进中,我希望它被着色:

Is it possible to change in the setting or a special extension?是否可以更改设置或特殊扩展? tried Googling but didn't see something like that.尝试谷歌搜索,但没有看到类似的东西。

You can use the rainbow tags extension .您可以使用彩虹标签扩展 To install it, just simply do Ctrl + P and paste ext install voldemortensen.rainbow-tags inside the box.要安装它,只需执行Ctrl + P并将ext install voldemortensen.rainbow-tags粘贴到框中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM