-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
Way to disable large folders warning #32840
Comments
@kwonoj Can you please share more information about your general project structure. As a starting point, with your workspace open in VS Code, run That notification means that intellisense will not work properly, so we'd like to understand why it shows up in the first place instead of just hiding it |
I wonder what the upper limit for number of files is? I'm currently at The
|
Open to provide tsserver trace or some more detail, but cannot attach in here as this is private repo. |
Have you tried to set |
@IllusionMH omg I just learned those option and it seems it makes notification go away, thx for tips. Should I close issue? I think so as it's controllable at least. |
Same here: I accidentally found it couple month ago. @mjbvz maybe it make sense to update https://code.visualstudio.com/Docs/languages/javascript "Common questions" section to describe steps how to deal with this error? I will create suggestions and PR in vscode-docs if needed. |
That sounds like a good idea. Here's the relevant repo: https://github.com/microsoft/vscode-docs/blob/master/docs/typescript/typescript-compiling.md Would you like to submit a docs PR that adds that section? |
Yes, will do if no one will do it before me. |
Glad you found the setting! I will issue my standard warning that that message is in place because generally TS Server will crash due to running out of memory when analyzing that much code at once, so simply turning off the warning and proceeding will likely result in a loop of TS Server trying to analyze everything, crashing, and restarting. But if it works for you anyway - carry on! |
Thanks for heads up - this is actually living concern for us. But also working on large-scale codebase we don't have lot of options as well. What'd be recommended way to scale up tsserver to deal with those large amount of files (without warning)? in a long run we'd like to split project into project references, but that won't going to happen soon. |
This issue has been marked as 'Question' and has seen no recent activity. It has been automatically closed for house-keeping purposes. If you're still waiting on a response, questions are usually better suited to stackoverflow. |
This issue is about request to allow a configurable way to disable notification
This is reported previously in microsoft/vscode#62871, microsoft/vscode#31188 but locked and cannot continue discussion in original issue.
Clarify, this is not due to misconfiguring excludes:
I'm working on one of repo currently have about 6500 js + jsx + ts + tsx files and it'll likely to grow over. Even exclude unnecessary files as much, vs code keep displaying same notification and would like to disable it, or either way to increase maximum files tsserver can handle to avoid.
The text was updated successfully, but these errors were encountered: