vscode-workspace-switcher
vscode-workspace-switcher copied to clipboard
Globs containing globstar (**) break extension
It's not possible to use some glob like ~/projects/**/
because it results in every command displaying the message:
command 'vscodeWorkspaceSwitcher.switchWorkspace' not found
.
Though it is possible to use multiple globs in the same root directory like the following example:
['~/projects/*', '~projects/*/*'. ~/projects/*/*/*']
Sadly each added nested path significantly increases the load time, which is very likely due to directories such as node_modules containing lots and lots of subdirectories. But I guess the option of ignoring specific globs is an separate issue in itself.
My current setting is:
"vscodeWorkspaceSwitcher.paths": [
"~/VSCodeWorkspaces/**"
]
and I never had any issues with it.
Yes, ignoring paths is feature that I will consider adding but for what you are reporting, could you please do the following?
- Open
Help -> Toggle Developer Tools
. - Clear the console.
- Try to use whatever command is failing.
- In case any errors are shown, provide the log in this issue.
This could help me understand what is going on, as I have never encountered the reported behavior.