Skip to content

This is a hack to auto open the available .code-workspace file in VS Code Web or Desktop

Notifications You must be signed in to change notification settings

gitpod-samples/dotfiles.open_code_workspace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles auto open (dot).code-workspace file

This is a hack to auto open the available .code-workspace file in VS Code Web or Desktop

Quickstart

  1. Fork this repository to your own account (direct link)
  2. Go to https://gitpod.io/user/preferences and scroll down. (You may replace gitpod.io with your own instance domain)
  3. Copy your forked repo link and set it as Dotfiles - Repository URL and click on Save.
  4. Create new workspace to see in action.

Customization

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.

About

This is a hack to auto open the available .code-workspace file in VS Code Web or Desktop

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages