Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Open File with DefaultNew to Visual Studio Code? Get it now.
Open File with Default

Open File with Default

Michael Sundvick

|
155 installs
| (0) | Free
Opens the current file with the default for the OS
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-open

Opens files using the OS's default program for the file type

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