Vscode: Intellisense shows loading indefinitely

Created on 30 Dec 2019  路  10Comments  路  Source: microsoft/vscode

Issue Type: Bug

  1. Open a project in visual studio code(React).
    2.Try intellisense suggestion before doing npm install (Without node modules)
    3.You can find the intellisense working perfectly.
    4.Do npm install (add node modules) then try intellisense.
    5.You can see it stuck at the loading text. no matter how much time you give.

This one have same effect even with all extensions deisabled.

VS Code version: Code 1.41.1 (26076a4de974ead31f97692a0d32f90d735645c0, 2019-12-18T14:58:56.166Z)
OS version: Windows_NT x64 10.0.18363


System Info

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz (8 x 1896)|
|GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled|
|Load (avg)|undefined|
|Memory (System)|31.82GB (23.46GB free)|
|Process Argv|D:react-workspacebrand-ui-upsbrand-app-ui-ansal|
|Screen Reader|no|
|VM|0%|

Extensions: none

*duplicate javascript upstream

Most helpful comment

Duplicate of https://github.com/microsoft/TypeScript/issues/35512

To workaround this, upgrade your workspace to use typescript@next by installing this extension

All 10 comments

The same issue, and version info:

Version: 1.41.1 (user setup)
Commit: 26076a4de974ead31f97692a0d32f90d735645c0
Date: 2019-12-18T14:58:56.166Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.17763

Reopen the vscode will work correctly for minutes, and then Intellisense break down and always show loading text when you hover any code.

@creeperyang

I think the issue is with the version of vs code, and this is how I resolved it.

I removed vs code completely. even deleted the files in the following locations
%userprofile%.vscode
%userprofile%AppDataRoamingCode
Then uninstalled VSCode.

Finally installed VSCode v 1.40.2
Also disabled auto update.
Now it works fine.

@creeperyang

I think the issue is with the version of vs code, and this is how I resolved it.

I removed vs code completely. even deleted the files in the following locations
%userprofile%.vscode
%userprofile%AppDataRoamingCode
Then uninstalled VSCode.

Finally installed VSCode v 1.40.2
Also disabled auto update.
Now it works fine.

Thanks, I will try it.

I just uninstall v1.41.1 and turn back to v1.40.2, and everything get back to normal.

I have the same issue, is there any other ways to solving

Same issue here. IntelliSense auto imports stopped working randomly while working on a project.

Windows 10.0.18363
Visual Studio Code 1.41.1

Rolling back to 1.40.2 fixed the issue.

@Ansal-Khan Is your code stored somewhere besides the c: drive?

@Ansal-Khan Is your code stored somewhere besides the c: drive?

My code resides in a separate disk.

Hi, I'm having the same issue. My project folder is on a separate drive, but the path to it has a symlink back to my C: drive for convenience. Could this be the source of the problem?

To be clear, I made it so that C:\Users\Me\Source links to E:\Users\Me\Source, which is where I actually store my source code for all my projects. I open my project folder with the symlink path that starts with C:

Edit: If I open the dev tools, I also get errors from workbench.desktop.main.js complaining about files not being found.

Edit2: Opening the folder from the path on my E: drive seems to fix the problem for now.

Duplicate of https://github.com/microsoft/TypeScript/issues/35512

To workaround this, upgrade your workspace to use typescript@next by installing this extension

Was this page helpful?
0 / 5 - 0 ratings