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

Syntax highlighting seems different from the previous version #1158

Closed
misbahansori opened this issue Apr 10, 2022 · 16 comments
Closed

Syntax highlighting seems different from the previous version #1158

misbahansori opened this issue Apr 10, 2022 · 16 comments
Labels
bug Something isn't working

Comments

@misbahansori
Copy link

Not sure if this is a bug or a desired interface, the newer version looks odd

Theme: Andromeda Bordered

The old version : 0.33.10
Screen Shot 2022-04-10 at 17 46 10

The new version : 0.34.2
Screen Shot 2022-04-10 at 17 46 24

@joepbuhre
Copy link

joepbuhre commented Apr 10, 2022

Agreed. With me every component is interpreted as a Vue Component > It is green instead of the usual blue with me. Very annoying so I downgraded to 0.33

@johnsoncodehk
Copy link
Member

Can you reproduce this problem in https://github.com/johnsoncodehk/volar-starter?

@braincomb
Copy link

Not only that but the auto-formatter seems to be behaving oddly, leaving the indention of tags broken.
After downgrading to v0.33.10 the issue is not there.

@johnsoncodehk
Copy link
Member

@braincomb html formatting issue should be fixed in 0.34.4.

@mxp131011
Copy link

I have the same problem

@TLovers
Copy link

TLovers commented Apr 11, 2022

标签的配色,我需要做些什么才能改回去 ?降级?

@chrislee973
Copy link

I'm having syntax highlighting issues too on 0.34.4. HTML tags and component names are all colored green instead of the usual blue for html and green for components. To reproduce, create a project with npm init vue@latest and choose "No" for all the options.

@MaxIV20
Copy link

MaxIV20 commented Apr 11, 2022

I confirm that html tags are highlighted in green as components. The backlight is incorrect in the project on vue 3 and nuxt 2.

@LoiLock
Copy link

LoiLock commented Apr 11, 2022

So why is this issue closed? Given that several people are still having this issue on the latest version?

@yaegassy
Copy link
Collaborator

@LoiLock This fix will be reflected in the next version (v0.34.5). There may be other fixes or adjustments, so until they are released, please downgrade to a version that is not problematic and use it.

@yaegassy
Copy link
Collaborator

yaegassy commented Apr 11, 2022

This is the "next" release version of the volar extension (v0.34.5). I built and tested the new version in my environment.

volar-extension-next-js-proj

The syntax problem in the case of "JavaScript" projects seems to be fixed.

@yaegassy
Copy link
Collaborator

It appears that a new version has been released. Try it!

volar-v0-34-5

@LoiLock
Copy link

LoiLock commented Apr 12, 2022

Yup, seems to be fixed now! Thanks a lot!

@cmcleese
Copy link

cmcleese commented Nov 2, 2022

Once I update to Volar v1.x.x or greater, the syntax highlighting seems to be lost for all components.
They are all green except for HTML tag

image

@rayasabari
Copy link

I fix the component highlight issue with the Vue Voler extentions Pack

image

@cmcleese
Copy link

cmcleese commented Nov 9, 2022

I already had basically all the extensions listed in there, regardless I tried it and it did not solve the issue for me. Still no highlighting.

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