microsoft / microsoft/vscode-remote-release

Feature Request: allow opening remote workspaces through extensions

Open
#6,243 5 comments 0 reactions 1 assignee View on GitHub

@chrmarti is already working on this.

Since Jan 31, 2022.

containers feature-request
Dominant language
Dockerfile
Stars
4.2k
Forks
470
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Hey 👋

I am developing a home screen extension that helps to manage different workspaces. One of my requirements is to allow opening remote workspaces, e.g. codespaces, remote machines etc.. Unfortunately there is not documentation about that and it appears to me that vscode.openFolder is not capable doing that. So far I know:

  • vscode.env.remoteName gives me the environment type, e.g. codespaces, which allows me to determine whether the workspace is local or remote
  • while searching this repo for more information I found that there is something like remote-containers.openFolder which is not documented though nor do the examples I found make any sense to me
  • I know VSCode is able to open codespaces through a like like vscode://github.codespaces/connect?name=<codespace-id> but creating a vscode.Uri in that form doesn't work

Any help on that matter is appreciated.
Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.