-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Typescript Intellisense and Auto Suggestion stuck at loading #54459
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
Comments
I'm observing that in order to get intellisense, auto-suggestion and even error reporting to "some what" work in a file, I must constantly restart the typescript server. |
We'd need a concrete repro to be able to investigate further |
This issue still persists.. I can share a private repo if you want. This only happens in a Next.js 13 project. |
I am facing the same issue, I have one huge .d.ts file with around 12000 lines, without that file it works fine. When file was under 10000 it works relative ok, but now when open new file need to wait for minutes to intellisense, auto-suggestion and even error work. Project is also Next.js 13. Version: 1.83.1 (Universal) I also tryied different machine with fresh OS installation and VS Code - insiders without extensions, but issue persist. Version: 1.84.0-insider |
Happens to me in next14 with a generated edgedb client which is a huge amount of TS code as well. Edit: |
I've enabled
in my vscode settings and isolated the long-duration request:
no idea what it means but 15minutes is long response time what I did on that page, is only to click on a react component in the JSX in order to go to its definition... related issues |
I've downgraded to ts v. 5.0.3 for now and it allows me to work again. Still the DX is not ideal, some types takes few seconds to resolve. |
I'm facing this issue currently in VSCode, on several MacBook Pros, both M2 and Intel:
encodedSemanticClassifications-full took almost a minute and an half. I'm not sure what the root cause is, but it seems to be related to a large type generated by @aws/amplify as a schema. You can try reproducing by deleting a dependency and generating the help menu here https://github.com/humanifest/femmes-vitale/blob/a365931584094827318caa27684a273f691d0b2a/src/components/UserProfile/UserProfile.tsx#L28C40-L28C50 |
@roryscot please file a new issue with complete and minimal repro steps |
Type: Performance Issue
When I hover over a variable name or I press "ctrl + cmd" to see the suggestions, typescript displays a "loading" tooltip for several minutes before just failing to display suggestions. Sometimes also, on the bottom bar, the "loading IntelliSense status" message takes several minutes to complete. In the meaning time, any typescript related functionality is non working.
I would like to mention that this behaviour appears only in a
nextjs 13 (app router)
project which contains a huge.d.ts
file (more than 30 000 lines). But I don't observer this behaviour in any other non nextjs project. (For example the same huge file works just fine in areact-native expo
project).I tried the
Insiders build
, tried to uninstall all extensions, tried to downgrade to several lower versions...I may be able to share the repo if needed.
VS Code version: Code 1.78.2 (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T15:00:40.428Z)
OS version: Darwin arm64 21.6.0
Modes:
Sandboxed: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Process Info
Workspace Info
Extensions (2)
A/B Experiments
The text was updated successfully, but these errors were encountered: