Skip to content

Strange behaviour and possible bug since starting to use Volar #560

Answered by johnsoncodehk
julie777 asked this question in Q&A
Discussion options

You must be logged in to vote
  1. sometimes unused imports are removed, but not always
  2. sometimes unreachable code is removed, but not always

It should ESLint or other extension behavior, because you don't have code action on save, you can try disable ESLint to confirm.

  1. sometimes random spaces are inserted or letters removed in both the template section and the script section.

I have note this problem and I think this is VSCode problem (vuejs/rfcs#228 (comment)) but not confirm. If you can provide a minimum reproduce I will survey it.

  1. sometimes the compile output shows the results of 2. but the code doesn't have the spaces inserted.

Seems to be related to 3.? Not idea for now. :S

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by johnsoncodehk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants