neoclide / coc-tsserver

Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript
MIT License
1.05k stars 68 forks source link

Speed up tsserver #314

Closed pavlo-hadzheha closed 2 years ago

pavlo-hadzheha commented 2 years ago

I am here due to the following note:

**Note**: tsserver could be quite slow to initialize on big project, 
exclude unneunnecessary files in your jsconfig.json/tsconfig.json.

Could someone help me set up an angular project folder to exclude an enormous node_modules folder?

image

My tsconfig.json: image

chemzqm commented 2 years ago

There is https://github.com/iamcco/coc-angular for angular project, and we have typescript.preferences.includePackageJsonAutoImports configuration which might helps.

chemzqm commented 2 years ago

That's not too many files, maybe you need SSD.