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

Vue component highlighting not working #1228

Open
ahas opened this issue Dec 24, 2024 · 1 comment
Open

Vue component highlighting not working #1228

ahas opened this issue Dec 24, 2024 · 1 comment

Comments

@ahas
Copy link

ahas commented Dec 24, 2024

Describe the bug
Since installing Deno extension, Vue's component highlighting has stopped working and is displayed in the same color as default HTML5 tags. Intellisense functions properly, and I have confirmed that highlighting works correctly when Deno is uninstalled.

To Reproduce

  1. Install Vue - Official extension
  2. Install Deno extension
  3. Create a User-Defined component in Vue.js SFC file

Expected behavior
The custom component highlighting in Vue needs to work properly.

Screenshots

image
Before installing Deno

image
After installing Deno

Versions

vscode: 1.93.0 deno: 2.1.4 extension: 3.43.1

Vue - Official: I have confirmed the same symptom in all versions from 2.2.0 to 1.8.27.

@fatheaddrummer
Copy link

fatheaddrummer commented Jan 7, 2025

I can confirm this issue. I have the Deno extension installed and enabled only within my Deno project’s settings. However, setting "deno.enable": true in that project causes incorrect syntax highlighting for Vue files in a completely different project within the same workspace (even though that other project has no reference to Deno).

I also tried using "deno.enablePaths" and "deno.disablePaths" instead of "deno.enable", but it made no difference. As soon as the Deno extension is installed, Vue’s syntax highlighting is negatively affected in the other projects—regardless of how I configure the Deno settings.

Deactivating the Deno extension, or even setting "deno.enable": false in the Deno project folder, immediately restores the correct Vue syntax highlighting for the other projects.

Edit: This issue occurs in version 3.43.1. It did not occur in 3.43.0, where everything worked perfectly with correct Vue highlighting and no issues.

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