-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
VS Code TypeScript started failing with "To enable project-wide ... language features, exclude large folders..." #53492
Comments
@mjbvz any ideas what might have changed? |
Is there some sort of numerical limit that prevents VS Code TypeScript features from turning on (similar to how other things like folding, syntax, etc, are disabled for large files)? If so, has that changed recently? And is there an option to turn off the limit? |
We haven't seen other users reporting this on the VS Code side. @trusktr What version did you update from? |
i just updated to 1.77 this morning and started getting this same error. vscode no longer seems to know about my global typedefs
|
I'm seeing this as well. Just started today after updating to 1.77.3. I am not using TypeScript, but there is a jsconfig in our project. |
for me... it was after i had ran |
I started seeing this issue earlier this week when our organization installed the GitHub Copilot extension. I don't know what the conflict is, but I can reliably resolve the issue by disabling Copilot in my IDE. I'm apparently the only one on my team seeing the issue at the moment, but it definitely seems to be related to Copilot. Adding an aggressive list of includes to [Update] In my case, this appears to be an issue that was introduced in v1.85.75 of the Copilot extension for VSCode. Reverting to the version before that makes the issue go away. I believe my situation is entirely unrelated to the TS server, but maybe this will help someone. |
I had the same problem for quite some time now, but I had it only in one project where I am working on few different project and what was interesting is that it was the smallest project, like just a bunch of files for some experiments. |
Although I very aggressively tried to exclude everything I could, I still have the warning. More annoying than the warning is not having a proper autocomplete. |
Same issue, exclude |
Had to exclude some folders to get it working again. |
to find the list of files included in that file should be enough to find the problematic directory or identify file path issues, in my case it was my javascript build directory (bundles) |
This has suddenly started happening for us. Huge blocker. Concerned to see this open for a year already without solution or workaround. |
We need a way to reproduce the problem to investigate it. It'd be great if someone could provide one. |
This randomly started hitting us, and as a result, intellisense and everything useful is broken AF. Happening on a totally-working NuxtJS project, in both Lucky for me, I have a JetBrains license....but this is really, unworkably bad. And I say this after spending HOURS trying to exclude stuff, tweak settings, check TypeScript server logs, etc. Having your IDE malfunction is probably the single-most productivity-impacting problem you can have. This is happening for basically EVERY file in our project:
```
2024-03-29 16:05:21.522 [error] Error: TypeScript Server Error (5.3.2)
Could not find source file: '/Users/x3r0/Development/amplify-testlab/hyeconnect-v2/composables/useFetchPosts.ts'.
Error: Could not find source file: '/Users/x3r0/Development/amplify-testlab/hyeconnect-v2/composables/useFetchPosts.ts'.
at getValidSourceFile (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:144799:22)
at getEncodedSemanticClassifications3 (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:145319:77)
at XA.e.getEncodedSemanticClassifications (/Users/x3r0/.vscode/extensions/vue.volar-2.0.8/node_modules/typescript-vue-plugin-bundle/index.js:2:19036)
at e.getEncodedSemanticClassifications (/Users/x3r0/.vscode/extensions/vue.volar-2.0.8/node_modules/typescript-vue-plugin-bundle/index.js:451:20951)
at IpcIOSession.getEncodedSemanticClassifications (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:183735:41)
at encodedSemanticClassifications-full (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:183038:43)
at /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:185377:69
at IpcIOSession.executeWithRequestId (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:185369:14)
at IpcIOSession.executeCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:185377:29)
at IpcIOSession.onMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:185419:51)
at process. (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:187001:14)
at process.emit (node:events:514:28)
at emit (node:internal/child_process:937:14)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
at Function.create (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript-language-features/dist/extension.js:2:503003)
at v.dispatchResponse (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript-language-features/dist/extension.js:2:496983)
at v.dispatchMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript-language-features/dist/extension.js:2:495837)
at ChildProcess. (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript-language-features/dist/extension.js:2:495330)
at ChildProcess.emit (node:events:514:28)
at emit (node:internal/child_process:937:14)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
|
I'm really sorry that people are encountering problems, but if we don't have a way to reproduce the problem, we have ~zero chance of fixing it. |
I am having constant issues with VSCode doing this and becoming unresponsive. Anytime I do a I've tried this with all extensions disabled |
That's very unfortunate. We need a way to reproduce the problem so that we can fix it. Can you help? |
Locking / closing due to lack of repro. If you're seeing this, please log a new issue including enough information to reproduce the problemand we'll be happy to investigate. Thanks! |
Bug Report
I was fine yesterday, and between then and today at some point VS Code starts to always show me the error
🔎 Search Terms
^ the error above
🕗 Version & Regression Information
This is a crash No
This changed between versions ______ and _______
Here's my version as of today:
This just started happening today. I was fine before today. Nothing has changed in the project, I have not pulled new code today, and now VS Code will not load Intellisense features, showing a tooltip with that message:
I tried adding exclusions (didn't have to before) but no luck. Warning persists.
⏯ Playground Link
N/A
💻 Code
N/A
🙁 Actual behavior
The warning
🙂 Expected behavior
No warning
The text was updated successfully, but these errors were encountered: