sadesyllas / vscode-workspace-switcher

Easily switch between workspaces
GNU General Public License v3.0
28 stars 8 forks source link

Command failed #12

Closed JSRound closed 6 years ago

JSRound commented 6 years ago

The Visual Code executable is in the path and it works on cmd and powershell, but when executing the extension there is an error image

talonrenaud commented 6 years ago

I have the same issue as @JSRound. (using Vscode: 1.23.0)

RLusseni commented 6 years ago

Same issue as @JSRound and @talonrenaud

Version 1.23.0
Commit 7c7da59c2333a1306c41e6e7b68d7f0caa7b3d45
Date 2018-05-03T16:44:55.614Z
Shell 1.7.12
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64
JSRound commented 6 years ago

image Same version as @RLusseni

SergNikitin commented 6 years ago

Same issue :(

Version 1.23.1
Commit d0182c3417d225529c6d5ad24b7572815d0de9ac
Date 2018-05-10T17:11:17.614Z
Shell 1.7.12
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64
sadesyllas commented 6 years ago

Please, use the vscodeWorkspaceSwitcher.codeExecutable setting to explicitly set the code executable path in the settings.

Also, note that what we want is the path not to code.exe but to bin\code.bat instead, where bin is in the same directory as code.exe (under Program Files/...).

This is a known issue (also explained in the README) where resolving the code executable from within VS Code does not work as intended (this does not happen with the insiders build).

This should fix the problem as per the previously closed issues, which were opened about this very same problem.

If the problem persists then please, re-open this issue.