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
make a directory with 19K+ files (I tested with one of my build directories)
delete it by doing move to recycle bin
info about what I deleted:
17,812 Files, 1,536 Folders
just over 6GB total
somewhere in D:/
It finishes eventually but all the UI is frozen. And VS code closed. My project is in D:/ maybe that's a factor I don't know.
I just tested with 1.26.1 and the issue still exists there too. It deleted quicker I guess the harddrive was already warmed up this time but it did freeze for a moment. Deleting needs progress or some form of indicator.
Yes, having the entire drive opened in VSCode can result in freezes like this due to the massive amount of file events that are potentially send. The only way out is to configure certain (large) subfolders on this drive to be excluded from watching via the files.watcherExcludes setting.
I run into this problem all the time when trying to delete my node_modules folder. Often this folder has many files, but is relatively small. As a workaround, is it possible to do a system-wide node_modules watcher exclude that will ignore any directory that is part of a tree that includes nodue_modules?
I just tried to delete a very large directory in vs code and it froze while deleting. Eventually I got vs code not responding dialog. This bug either needs to be reopenned or a new bug report. I don't know what your teams workflow is.
Activity
bpasero commentedon Aug 20, 2018
Yes, having the entire drive opened in VSCode can result in freezes like this due to the massive amount of file events that are potentially send. The only way out is to configure certain (large) subfolders on this drive to be excluded from watching via the
files.watcherExcludessetting.MicahZoltu commentedon Aug 30, 2018
I run into this problem all the time when trying to delete my
node_modulesfolder. Often this folder has many files, but is relatively small. As a workaround, is it possible to do a system-widenode_moduleswatcher exclude that will ignore any directory that is part of a tree that includesnodue_modules?bpasero commentedon Aug 30, 2018
Micah Zoltu (@MicahZoltu) there was a recent bugfix in this area, can you try if it still reproduces with our insiders release?
graph commentedon Sep 24, 2018
Version: 1.27.2 (system setup)
Commit: f46c4c4
Date: 2018-09-12T16:17:45.060Z
Electron: 2.0.7
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64
OS: Windows 10
I just tried to delete a very large directory in vs code and it froze while deleting. Eventually I got vs code not responding dialog. This bug either needs to be reopenned or a new bug report. I don't know what your teams workflow is.
Thank you.
graph commentedon Oct 17, 2018
Benjamin Pasero (@bpasero) This bug still occurs latest release
Version: 1.28.1 (system setup)
Commit: 3368db6
Date: 2018-10-11T18:13:53.910Z
Electron: 2.0.9
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64