pushqrdx / vscode-inline-html

🎨 Adding Syntax Highlighting, Emmet, IntelliSense support for ES6 Template Strings in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=pushqrdx.inline-html
GNU General Public License v3.0
54 stars 15 forks source link

Context breaking in js if the string `html` is found #52

Closed sergxerj closed 4 months ago

sergxerj commented 4 months ago

If I have code like:

let a = document.querySelector(`html`);
let b;
let c = document.querySelectorAll(`a`);

It seems to think that anything between the html and the a is in an html or css context, not sure of which, it gives hover tooltips like these: imagen imagen

Things I have tried, these all make the problem go away:

pushqrdx commented 4 months ago

@sergxerj oh I see, I think I know what might be causing this, I will be pushing a minor update fixing this issue, sorry for the inconvenience :)

pushqrdx commented 4 months ago

@sergxerj v0.3.10 is up fixing this issue