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.
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
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 pressCtrl+Shift+P
on Windows/Linux orCmd+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
orgithub.dev
)
You can modify the default VS Code Online environment by changing the openInVSCodeOnline.defaultVSCodeOnlineEnvironment
setting:
- Open the Command Palette (
View
>Command Palette
or pressCtrl+Shift+P
on Windows/Linux orCmd+Shift+P
on macOS) - Type
Preferences: Open User Settings
and select the command from the list - Search for
openInVSCodeOnline.defaultVSCodeOnlineEnvironment
- Select either
vscode.dev
orgithub.dev
from the dropdown list
This extension is licensed under the MIT License.