-
Notifications
You must be signed in to change notification settings - Fork 28.8k
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
Two full TS servers spawned for on TS 3.9.x #104456
Comments
Seems like this was caused by #104123 |
For verification, try the following cases:
All should load the document symbols quickly even while the loading spinner is showing You can use the same global install in all cases, just make sure to reload VS Code each time |
Assigning this to july milestone since it is a candidate. |
@mjbvz following your steps I have verified that the outline get loaded quickly, however I still see two tsservers spinning up when I open the process explorer. If I understood correctly this is by design, since only one of them has a large memory usage. |
Issue Type: Bug
repo
npm i -g [email protected]
Set your user tsdk to use this version, for example:
Now load the VS Code workspace (making sure you are using your user TS version)
Open a file in
src
and try getting the document outlineBug
Big delay.
This is because two full TS Servers are being spawned instead of a syntax only server + full server (see memory usage in screenshot):
VS Code version: Code - Insiders 1.48.0-insider (4c23fc2, 2020-08-11T10:13:04.551Z)
OS version: Darwin x64 19.6.0
System Info
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: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: