Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Open in Integrated BrowserNew to Visual Studio Code? Get it now.
Open in Integrated Browser

Open in Integrated Browser

NEVSTOP-LAB

|
5 installs
| (0) | Free
Right-click supported files in Explorer or editor tab to open them in VS Code's built-in Simple Browser. File extensions are user-configurable.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Open in Integrated Browser

A lightweight VS Code extension that adds an "Open in Integrated Browser" command to the Explorer and editor tab context menus, opening the selected file in VS Code's built-in Simple Browser (instead of an external browser).

Originally motivated by how cumbersome it is to preview HTML files inside VS Code's integrated browser — now it's a single right-click.

Features

  • Right-click any supported file in the Explorer, on an editor tab, or in the editor area → Open in Integrated Browser.
  • Opens the file using VS Code's built-in Simple Browser via simpleBrowser.api.open (falls back to vscode.open when unavailable).
  • Fully configurable file types via the openInIntegratedBrowser.extensions setting.
  • Localized in English and 简体中文.

Default supported file extensions

html, htm, pdf, xml, xsl, txt, md

Configuration

Setting Type Default Description
openInIntegratedBrowser.extensions string[] see above File extensions (without leading dot) that show the command in the context menu.

Example settings.json:

{
  "openInIntegratedBrowser.extensions": [
    "html", "htm", "pdf", "svg", "md"
  ]
}

Commands

Command Title
openInIntegratedBrowser.open Open in Integrated Browser

License

MIT © NEVSTOP-LAB

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