microsoft / microsoft/vscode

cannot open HTML files in integrated browser when using WSL

Open
#336,835 0 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

browser-integration new release
Dominant language
TypeScript
Stars
193k
Forks
42.7k
PR merge metrics
PR metrics pending

Description

Type: Bug

  • create a HTML in WSL
  • right click the file
  • no option to open with integrated browser

Here's your doc for this feature
https://code.visualstudio.com/docs/languages/html#_preview-html-files-in-the-integrated-browser


VS Code version: Code 1.138.0 (7debcd0e2acdea1c52de81bf9ee1620444407dda, 2026-09-15T07:24:32Z)
OS version: Windows_NT x64 10.0.26200
Modes: Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked VS Code documentation for previewing HTML files and reproduce the missing context-menu option for an HTML file created in WSL. Trace the integrated-browser preview entry point and compare behavior between local and WSL files; done means the option is available and opens the file in the integrated browser.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, linux, typescript, vscode
Domain
desktop, developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.