Description
- VSCode Version: 1.38.1
- OS Version: Win10 1809
When opening large JS project intellisense stops working after receing an error notification
"To enable project-wide JavaScript/TypeScript language features, exclude large folders with source files that you do not work on.". My project contains of around 11k JS files (excluding node_modules - just project files) - around 50MB of source code.
I have excluded any large external forlders in my jscondig.json
{
"compilerOptions": {
"baseUrl": ".",
"paths": { ... some paths }
},
"exclude": [
"node_modules",
"**/node_modules/*",
"dist",
"build",
"docs",
"functional-tests",
"**/.cache-loader/*"
]
}
tsserver.log
doesn't show anything suspicious - just tons of watchers for files I would expect they should be there. No errors or whatsoever. I've seen tons of reports like this but without any real answers what is going on and how to fix it (#31188, microsoft/vscode#9594, microsoft/vscode#35549 to just point a few). There is a TS server issue reference in microsoft/vscode#35549 - to a max non TS file size limit hardcoded at 20MB. Is this the case? Can vscode handle projects larger that 20MB in total size??