This extension adds 'Open in Browser' to the Command Palette. Running this command opens the default web browser to the currently edited file's URL in the web platform related to the Git origin (e.g. Github). The URL represents the current position of the cursor or the current multi-line selection.
Commonly used platforms such as Github and Gitlab are recognized automatically from the Git origin. Self-hosted web platforms such as Stash can be specified via the
The following remote.config.url-platform options are supported:
An extension-wide setting can also be configured as a default for all repos. The priority order for remote web platform resolution is:
VSCode 1.85.0 or newer
See CHANGELOG.md for release history and work-in-progress.
Compile before debugging. Debug (F5) while editing
Tests run within a VSCode execution environment.