Home > other >  Visual Studio Code inconsistent syntax highlighting with tags colors
Visual Studio Code inconsistent syntax highlighting with tags colors

Time:09-03

I'm having an issue with Visual Studio Code. For some .vue files, sometimes, the syntax highlighting colors are inconsistent. I haven't been able to determine a pattern.

Here's an example of two files opened with almost same code.

gif showing the two files coloring in different manners

These are the extensions I have installed:

List of installed extensions

I can't find a way to resolve this issue.

CodePudding user response:

Volar and Vetur together were the problem. I'm working with Vue 2, so I deactivated Volar and everything works perfect now.

  • Related