Description: When I use tag interpolation in Pug and add some text to it, the editor highlights the content as if this were an element. I think you'll better see this in the following image:
It's just a tiny issue but It'd be nice if someone could fix it.
Regards!
div.important
ul
li #[a(href="#") textContent]
I'm using tag interpolation in Pug, you can read more here. The issue is that VScode highlights with an element's color (blue in this case) text content of an <a> and a <div>, as is shown in the screenshot. It should be treated as plain text (i.e the "dummy div" text) so in this case, It must be white.
Of course, this is purely stylistic and nothing affects the output but I just wanted to express this tiny issue.
Copied from original issue: Microsoft/vscode#45814
From @lucasdavidferrero on March 14, 2018 23:44
Description: When I use tag interpolation in Pug and add some text to it, the editor highlights the content as if this were an element. I think you'll better see this in the following image:
It's just a tiny issue but It'd be nice if someone could fix it. Regards!
I'm using tag interpolation in Pug, you can read more here. The issue is that VScode highlights with an element's color (blue in this case) text content of an
<a>
and a<div>
, as is shown in the screenshot. It should be treated as plain text (i.e the "dummy div" text) so in this case, It must be white. Of course, this is purely stylistic and nothing affects the output but I just wanted to express this tiny issue.Copied from original issue: Microsoft/vscode#45814