Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to enable all of the features to the template html string which VSCode provides to an independent html file? #84

Open
b4git opened this issue Oct 24, 2020 · 1 comment

Comments

@b4git
Copy link

b4git commented Oct 24, 2020

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?

@sanmai-NL
Copy link

‘Rename symbol’ via the context menu works for me to rename the tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants