Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intellisense shows loading indefinitely #87870

Closed
Ansal-Khan opened this issue Dec 30, 2019 · 10 comments
Closed

Intellisense shows loading indefinitely #87870

Ansal-Khan opened this issue Dec 30, 2019 · 10 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) javascript JavaScript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@Ansal-Khan
Copy link

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 (26076a4, 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-workspace\brand-ui-ups\brand-app-ui-ansal
Screen Reader no
VM 0%
Extensions: none
@vscodebot vscodebot bot added the terminal General terminal issues that don't fall under another label label Dec 30, 2019
@creeperyang
Copy link

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.

@Ansal-Khan
Copy link
Author

@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%\AppData\Roaming\Code
Then uninstalled VSCode.

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

@mjbvz mjbvz self-assigned this Dec 30, 2019
@creeperyang
Copy link

@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%\AppData\Roaming\Code
Then uninstalled VSCode.

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

Thanks, I will try it.

@creeperyang
Copy link

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

@zhbun
Copy link

zhbun commented Jan 2, 2020

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

@dylanjmcdonald
Copy link

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.

@mjbvz mjbvz removed the terminal General terminal issues that don't fall under another label label Jan 6, 2020
@mjbvz
Copy link
Collaborator

mjbvz commented Jan 6, 2020

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

@mjbvz mjbvz added javascript JavaScript support issues info-needed Issue requires more information from poster labels Jan 6, 2020
@Ansal-Khan
Copy link
Author

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

My code resides in a separate disk.

@miss-programgamer
Copy link

miss-programgamer commented Jan 7, 2020

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.

@mjbvz
Copy link
Collaborator

mjbvz commented Jan 7, 2020

Duplicate of microsoft/TypeScript#35512

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

@mjbvz mjbvz closed this as completed Jan 7, 2020
@mjbvz mjbvz added *duplicate Issue identified as a duplicate of another issue(s) upstream Issue identified as 'upstream' component related (exists outside of VS Code) and removed info-needed Issue requires more information from poster labels Jan 7, 2020
@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) javascript JavaScript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

6 participants