-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Issue is pretty self-explanatory. I hid a folder. I deleted the extension. The folder won't show again. I tried refreshing the explorer, would not show. I tried reinstalling (it did not reappear on reinstall). I tried deleting the extension in the vscode extensions directory in my user directory. I renamed the parent folder it reappeared. I changed the name back, it disappeared.
...halfway through writing this I see what the issue is. You create a settings.json file if one isn't already there, and you also include the hidden file listing in the workspace. If I delete settings.json it goes away. It looks like the settings file pulls in all of the items previously listed under "files.exclude" from the workspace AND from the global user settings, AND from some other source because there's a few FILE types that excluded that I can't figure out where they came from.
This behavior is not ideal. Folks who don't notice that settings file are in for some major frustration. It would be better to list the hidden files in the workspace file, and only those explicitly hidden with the extension. If that is not workable, then a warning in the extension README. And if at all possible, the hidden files removed by the user with the extension should be restored when the extension is deleted.