How to debug an issue with vscode setting files.watcherExclude

Mark Wood-Patrick 1 Reputation point

How to debug an issue with vscode code-server setting files.watcherExclude?

I have a workspace and am getting a warning saying that vscode can't watch all the files in the workspace however I added a setting:

  "files.watcherExclude": {  
        "**/project/**": true  

which should have removed most of the files from consideration but I'm still getting this warning

Is there a way to verify exactly which files vscode code-server is trying to watch?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
23,789 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
3,495 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Limitless Technology 9,046 Reputation points

    Hello there,

    Yes you can verify exactly which files are scanned.

    When you see this notification, it indicates that the VS Code file watcher is running out of handles because the workspace is large and contains many files.

    You can get more information from here



    --If the reply is helpful, please Upvote and Accept it as an answer--

  2. Mark Wood-Patrick 1 Reputation point

    I understand the issue I'm hitting and did read the article https://

    As far as I can see this article describes what's causing the problem and how to reduce the number of files being watched by setting the "files.watcherExclude" field in settings.json or by increasing the number of files that can be watched but I did not see how to view exactly which files vscode is trying to watch, did I miss something?

    No comments

  3. Mark Wood-Patrick 1 Reputation point

    Where is the best place to ask vscode questions and suggest enhancements?

    No comments