VS Code extension for opening the HTML file in your browser
-
Open an HTML file.
-
Press F1 and type
Open in Browser
.
-
Mac: ⌘ + ⌥ + O
-
Windows: Ctrl + Alt + O
Fields | Default | Description |
---|---|---|
open-in-browser.defaultBrowser |
System Default |
Determines which browser to use by default. Support Chrome , Firefox , Opera , Safari , Edge |
open-in-browser.useLocalServer |
true |
Controls whether to open with the local server. |