You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently do not support to exclude folders from our watching infrastructure so files.exclude does not have an impact. One reason is that e.g. we want to hide the .git folder from the explorer but we cannot disable file events for that folder because git relies on these events.
We might need to add a new option to configure watcher exclusions.
VS Code currently walks all everything under the project's directory, even excluded files.
Go to some project folder
Create a big directory hierarchy in a subfolder.
git clone https://github.com/torvalds/linux.git
will do it.Launch VSCode and open the project folder
Using
fs_usage
or equivalent tool, notice that VS Code is walking that hierarchy and stat'ing all files in itTry to add a setting to exclude the file:
Repeat step 3 and 4. Notice that the linux directory no longer appears in the sidebar, but VS Code still walks the directory and stats everything.
In my case I have a few million files, and this directory traversal is a serious slowdown.
VS Code Version 0.10.9 (0.10.9) 45d6935, OS X 10.11.3
The text was updated successfully, but these errors were encountered: