angular / vscode-ng-language-service

Angular extension for Visual Studio Code
MIT License
779 stars 117 forks source link

Add a way to exclude folders from being watched #2073

Open griest024 opened 3 months ago

griest024 commented 3 months ago

🚀 feature request

Description

A clear and concise description of the problem or missing capability... The angular language server uses a lot of file watchers. In a fairly large workspace, vscode and the TS extension are using <100k watchers combined. The angular extension uses >350k watchers by itself. I am able to ignore many directories in vscode's settings that drastically reduce the watchers used (namely `.nx_cache`). However the angular language server does not respect these settings. Deleting the directories that I feel should be ignored brought Angular's file watchers to around 30k. ### Feature Type

Describe the solution you'd like

I would like some way to configure the Angular extension such that certain directories of my choosing will be ignored and not have file watchers installed.

Describe alternatives you've considered

I've considered not using the Angular extension

Anything else relevant?