microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.99k stars 28.78k forks source link

Problems w/Intellisense & Find Usages #117466

Closed brooke-poweredbyliquid closed 3 years ago

brooke-poweredbyliquid commented 3 years ago

Issue Type: Bug

I use VS code to edit both typescript/angular and C#.

Since the lastest update, intellisense is SUPER slow. I've set my preferences to show intellisense after 1 ms just to be safe, and still it's taking 5-10 seconds to load, which makes it unusable.

I've tried turning off all my plug-ins, and it doesn't make a difference.

Also, trying to find references from html no longer ever finds any references, OR it just takes me to html element references. Normally, I can find references of an angular component by right-clicking in the html. Also, properties and methods used in html can no longer be found in the ts files.

When finding references w/in ts files, the results are now duplicating every reference, but not necessarily in the same order, so it's very confusing.

This had all been generally working before. I would have issues from time to time, but restarting VS code would always resolve them.

Any help would be appreciated. ~b

VS Code version: Code 1.53.2 (622cb03f7e070a9670c94bae1a45d78d7181fbd4, 2021-02-11T11:48:04.245Z) OS version: Windows_NT x64 10.0.17134

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 1992)| |GPU Status|2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: enabled
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|15.85GB (2.23GB free)| |Process Argv|--crash-reporter-id 453a394b-6d51-4765-bb08-ed11d1c009a4| |Screen Reader|no| |VM|0%|
Extensions (6) Extension|Author (truncated)|Version ---|---|--- ng-template|Ang|11.2.3 gitlens|eam|11.2.1 vscode-firefox-debug|fir|2.9.2 csharp|ms-|1.23.9 vscode-typescript-tslint-plugin|ms-|1.3.3 debugger-for-chrome|msj|4.12.12
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30256860 vstry914:30256638 pythonvsdeb440:30248342 pythonvsded773:30248341 pythonvspyt875:30259475 ```
mjbvz commented 3 years ago

Please share some typescript code that demonstrates the issue

For C#, open an issue against the C# extension

/needsMoreInfo

brooke-poweredbyliquid commented 3 years ago

For typescript, an example of the code isn't really going to help b/c it's just all code. It just hangs there and intellisense doesn't appear for 5-10 seconds

image

mjbvz commented 3 years ago

Please share an example project that demonstrates this. That little snippet doesn't tell us enough about what could be going wrong