This is a VS Code extension that allows you to quickly open your current Git repository in the browser in VS Code Web. You can choose to open it in either the vscode.dev or github.dev environment by modifying the openInVSCodeOnline.defaultVSCodeOnlineEnvironment setting.
Watch Demo
Installation
To install the extension, follow these steps:
Open VS Code
Go to the Extensions view (View > Extensions)
Search for Open in VS Code Online
Click Install
Usage
To use the extension, simply open a Git repository in VS Code and run the Open in VS Code Online command:
Open a Git repository in VS Code
Open the Command Palette (View > Command Palette or press Ctrl+Shift+P on Windows/Linux or Cmd+Shift+P on macOS)
Type Open in VS Code Online and select the command from the list
The repository will be opened in the browser in the selected environment (vscode.dev or github.dev)
Settings
You can modify the default VS Code Online environment by changing the openInVSCodeOnline.defaultVSCodeOnlineEnvironment setting:
Open the Command Palette (View > Command Palette or press Ctrl+Shift+P on Windows/Linux or Cmd+Shift+P on macOS)
Type Preferences: Open User Settings and select the command from the list
Search for openInVSCodeOnline.defaultVSCodeOnlineEnvironment
Select either vscode.dev or github.dev from the dropdown list