microsoft / microsoft/vscode-remote-release

Support $BROWSER environment variable to open local browser

Open
#1,919 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Some commands open a browser to show the contents on the internet. ex. hub supports to open the github resources like hub pr show <PR_NUMBER>. It opens specified pull request on the browser.

VSCode remote supports to open remote content by code command on the remote terminal. Maybe the command tells to open the file to vscode-server process, and vscode-server tells connected local vscode, and open the content on the local vscode.

So, please provide the command like code-web-browse to open local web browser to set $BROWSER environment variable on the remote.

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.

Research direction

Start by tracing how existing remote commands open web content and how the proposed code-web-browse entry point could use the $BROWSER environment variable. Confirm the expected behavior for SSH, containers, and WSL, then verify that a remote invocation opens the requested URL in the connected local browser.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
desktop, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.