This is a hack to auto open the available .code-workspace file in VS Code Web or Desktop
- Fork this repository to your own account (direct link)
- Go to https://gitpod.io/user/preferences and scroll down. (You may replace
gitpod.io
with your own instance domain) - Copy your forked repo link and set it as Dotfiles - Repository URL and click on
Save
. - Create new workspace to see in action.
You can create a user variable in your Gitpod preferences to specify a fixed .code-workspace file, right now it's auto detected and it will pick the first one in order if there are multiple ones present.
For example, you may create a variable called DOTFILES_CODE_WORKSPACE
with the scope of */*
and foo.code-workspace
as the value.