How to limit virtualenv file watches to prevent large workspace error #19622
Labels
area-environments
Features relating to handling interpreter environments
bug
Issue identified by VS Code Team member as probable bug
info-needed
Issue requires more information from poster
triage-needed
Needs assignment to the proper sub-team
Discussed in #19523
Originally posted by ggydush-fn July 21, 2022
I have all of my virtual environments in a single folder (
~/.virtualenvs/
) and found that this causes the following issue in Vscode (even in an empty project):The logs show that the Python extension is watching the
~/.virtualenvs
directory, but does it need to watch all files in these directories? When working on multiple projects, this can easily exceed the watcher limit (which I don't have much control over setting, as I'm operating on a remote machine).Disabling the Python extension resolves, but am wondering if anyone else has come across this and knows a way around it? I've tried modifying Vscode's setting "files.watcherExclude" but that did not seem to have an effect.
The text was updated successfully, but these errors were encountered: