Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Open (WSL support)New to Visual Studio Code? Get it now.
Open (WSL support)

Open (WSL support)

nxht

|
15,438 installs
| (3) | Free
Opens the current file with the default application for the OS (in Windows for WSL)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Open with Default Application (WSL supported)

Opens files using the OS's (in Windows for WSL) default program for the file type

  • This is forked version of open by sandcastle with WSL support added

Install

Press F1 and narrow down the list commands by typing extension. Pick Extensions: Install Extension.

Simply pick the open extension from the list.

Usage

Open Shortcut

The extension can also be executed on demand

  • Mac: Command + Alt + O
  • Windows: Control + Alt + O

The command could also be found in the command palette (named Open with default application), or on the contextual menu in the file explorer.

Roadmap

  • Add support for selecting browser (feel free to send PR)

Have fun! :beers:

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft