[remote] suppport --open-url in remote cli

Open
#4,260 13 comments 34 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

Assessment

This issue has not been assessed yet.

Description

feature-request help wanted remote
  • VSCode Version: 1.52.1
  • Local OS Version: Ubuntu 20.04
  • Remote OS Version: Ubuntu 16.04
  • Remote Extension/Connection Type: Docker

Steps to Reproduce:

My extension (vscode-lldb) registers an uri handler to enable starting debug session from outside of VSCode. This works as expected for local VSCode via xdg-open vscode://vadimcn.vscode-lldb/... (or code --open-url vscode://vadimcn.vscode-lldb/...).

In a container, however, the former produces this error: Unable to open 'vadimcn.vscode-lldb': Unable to read file 'vscode-remote://attached-container+7b22636f6e7461696e65724e616d65223a222f706561636566756c5f727562696e227d/root/vscode:/vadimcn.vscode-lldb' (Error: Unable to resolve non-existing file 'vscode-remote://attached-container+7b22636f6e7461696e65724e616d65223a222f706561636566756c5f727562696e227d/root/vscode:/vadimcn.vscode-lldb').
and the latter:
Ignoring option open-url: not supported for code. At least one file or folder must be provided.

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

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.

More from microsoft/vscode-remote-release

All issues in microsoft/vscode-remote-release

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.