Currently, it appears that many features which are available inside a html file are not enabled for the templated html string. For example:
// in a Test.ts file:
const x = html`<h1>Rename test</h1>`;
If the html content was in a separate html file, VSCode allows to do things like renaming, but trying to rename the <h1> tag above in VSCode says: You cannot rename this element.
What settings should be used to enable such features?
Currently, it appears that many features which are available inside a html file are not enabled for the templated html string. For example:
If the html content was in a separate html file, VSCode allows to do things like renaming, but trying to rename the
<h1>tag above in VSCode says:You cannot rename this element.What settings should be used to enable such features?