Latest release is broken (view contents go out of sync?)
FichteFoll opened this issue · comments
After updating to 1.1.0, I've encountered several serious problems. Following is a probably incomplete list:
-
Highlighted regions go out of sync all the time when editing the file.
(expected: blue line under theassigned-brands
class and orange underanchor-tooltip
) -
Some error marks are simply wrong and incorrect, e.g. a tag supposedly not being closed. My theory is that they were valid at some point in the edit history and have long since been fixed, but LSP still marks them until I close and re-open the view. And they keep accumulating.
I feel that those kind of issues could be reported directly in the volar repo sine we can't do much about those here (besides reverting to an older version).
But for now gonna ping @johnsoncodehk
I wasn't sure if it's a general volar issue or one with the plugin for ST, so I went with the lowest known source of failure. It can then bubble up as necessary. I also imagined that there would be a fairly big report of this on the volar repo already, but perhaps nobody has updated to the latest version yet.
It should be fixed by vuejs/language-tools@e2090ee.
Please try @volar/vue-language-server v0.40.5.
Thanks Johnson, can confirm that v0.40.5
fixes the issue 😃
Tested by overriding LSP-volar
by adding Packages/LSP-volar/server/package-lock.json
locked to v0.40.5
(instead of v0.40.4
as the latest release of LSP-volar
).