Vetur: Broken intellisense with typescript 3.7.3 (Vetur 0.23.0)

Created on 12 Dec 2019  路  10Comments  路  Source: vuejs/vetur

  • [x] I have searched through existing issues
  • [x] I have read through docs
  • [x] I have read FAQ

Info

  • Platform: Windown 10
  • Vetur version: 0.23.0
  • VS Code version: 1.40.2
  • Extensions Enabled: Vetur only

Problem

Build latest master source and named it for example 0.22.7.
This latest master version will be named 0.23.0 according to the changelog.

The issue is that within SFC .vue files (typescript) intellisense stops working.
image

In the image above it showcases the issue, type definition on hover and intellisense (shift+space) are stuck on loading.

This also happened on Vetur 0.22.6 with useWorkspaceDependencies (TS 3.7.x) enabled.
Typescript 3.6.x works properly.

image

I've mentioned this issue before here:
https://github.com/vuejs/vetur/issues/1510#issuecomment-557410649

This is issue showcases the problem.

Reproducible Case

Build from master branch including Typescript 3.7.x (3) and try to use intellisense or resolve types on hover.

typescript upstream

Most helpful comment

@octref I've tried to capture it in a short video:
Vetur_0.23.0_Typescript_3.7.3_broken_intellisense.MP4

As shown in the video upon a fresh reload of vscode all is wel until you start typing and try to use intellisense everything breaks. unfortunately no errors are show in the console or any of the vscode logs.

All 10 comments

Is it slow or is it completely broken?
Any error in Help -> Developer Tools or Output -> Vue Language Server?

Is it slow or is it completely broken?
Any error in Help -> Developer Tools or Output -> Vue Language Server?

Completely broken, first time you try to resolve something it breaks no errors.
F12 goto to definition breaks aswell and it will keep loading indefinitely.

In the morning ill check the devtools as I didn't see anything in the vscode logs

@octref I've tried to capture it in a short video:
Vetur_0.23.0_Typescript_3.7.3_broken_intellisense.MP4

As shown in the video upon a fresh reload of vscode all is wel until you start typing and try to use intellisense everything breaks. unfortunately no errors are show in the console or any of the vscode logs.

Is this the reason why v0.23 is not on VS Marketplace ?

Has this been addressed?

Double checked it with the latest release, problem still exist as described and shown in the video.

0.22.6 is work ok.wating 0.23.x

@Yancy1028 Thats correct but the current release is 0.23.0. Which also includes nullish coalescing etc.

@octref I've found out that upgrading to Typescript 3.7.5 solves this issue. As in 3.7.5 they resolved an issue with paths on non C drive on windows.

We've updated our bundled TypeScript version to 3.7.5. This minor update includes some important bugs fixes, including fixing IntelliSense for projects that are not stored on C: drives on Windows.

@Niekvdm Great. I'll upgrade to TS 3.7.5 for next release.

Was this page helpful?
0 / 5 - 0 ratings