Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Can't open a remote workspace #33

Open
MattHardcastle opened this issue Nov 2, 2020 · 1 comment
Open

Can't open a remote workspace #33

MattHardcastle opened this issue Nov 2, 2020 · 1 comment

Comments

@MattHardcastle
Copy link

Steps to reproduce:

  1. Add a remote workspace to projects.json
  2. Open with the vsc shortcut in Alfred

I expect the remote workspace to open, but it doesn't. No error is displayed.

@qykong
Copy link

qykong commented Mar 11, 2021

As a temporary hack for this, here's my updated run.sh. This will open up remote projects but you might need to update the right path to where code is located.

VSCODE_APP_EDITION="code"

if [ $vscodeEdition == 'code-insiders' ]
then
  VSCODE_APP_EDITION="code-insiders"
fi

if [ $vscodeEdition == 'codium' ]
then
  VSCODE_APP_EDITION="codium"
fi

if [[ $1 == *"vscode-remote"* ]]; then
  /usr/local/bin/$VSCODE_APP_EDITION --folder-uri "$1"
else
  /usr/local/bin/$VSCODE_APP_EDITION "$1"
fi

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants