Navigation Menu

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

HTML file tag rename not working #1530

Closed
ludwig801 opened this issue Jul 1, 2022 · 1 comment
Closed

HTML file tag rename not working #1530

ludwig801 opened this issue Jul 1, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@ludwig801
Copy link

Issue

When attempting to rename an HTML tag through F2 rename key, vscode shows a tooltip as seen below:

image

Expected behaviour

The vscode allows renaming the tag, as usual in HTML files with built-in HTML language features.

Additional info

I am sure this bug is relative to the Volar extension as everything works as expected if the extension is disabled.
I am using takeover mode with Volar, but not all my project is within a build system, so I have plain HTML files.

Whenever I open an HTML file, I get on the breadcrumbs that "HTML Language Features" sub-entry (see below), side-by-side with a "Vue Language Feature (Volar)" which, to my understanding, should not happen in plain HTML files: why is Volar attempting to interfere in this file, as it is not a Vue SFC?

image

Environment

  • VS Code: v1.68.1
  • Volar: v0.38.2
  • OS: Windows 11 Version 10.0.22000 Build 22000
@IIFelix
Copy link
Collaborator

IIFelix commented Jul 1, 2022

Renaming tags is working for me in html files while Volar is enabled. I also have the "HTML Lanugage Features" in the breadcrumbs.
Could you open a terminal and look into the output of extensions? Maybe there is some kind of error message in there.

@johnsoncodehk johnsoncodehk added the bug Something isn't working label Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants