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):
Unable to watch for file changes in this large workspace folder. Please follow the instructions link to resolve this issue.
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.
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
~/.virtualenvsdirectory, 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.