Closed JoosepAlviste closed 4 years ago
I'm experiencing this issue as well :(
It's problem of vls
It's problem of vls
I installed vls
0.5.1 globally and configured both VSCode and coc-vetur
to use it:
"vetur.dev.vlsPath": "<my_global_node_modules>/node_modules/vls",
The issue still happens in coc-vetur
but doesn't in VSCode, so I think that the problem might still be in coc-vetur
.
I tried looking into the differences from 0.4.2 to 0.5.0, but couldn't find a straight-forward changelog...
Caused by missing configuration.
Thanks for taking a look! It seems to work correctly now. The new vetur.validation.templateProps
option also works nicely!
Hey! I upgraded to the new version of
coc-vetur
(version 1.13.0) and it seems like the diagnostics in templates are not shown anymore when I've enabledvetur.experimental.templateInterpolationService
. I can see that the type information is correctly shown (hovering works), but errors are not shown anymore.Here's a screenshot illustrating a problem side-by-side with VSCode:
On the left picture is
coc-vetur
which doesn't show the type error and on the right is VSCode which shows the correct error.I can temporarily downgrade
coc-vetur
to version 1.12.0 to fix this.Here's the example code (project generated with Vue CLI):
Here's the verbose log output if it helps.