SudoKillMe / vscode-extensions-open-in-browser

81 stars 42 forks source link

Open in Browser

What's new?

How it works?

Usage

use Alt + B shortcut to open current html file in default browser, or Shift + Alt + B to choose a browser. you could also right click just like the picture: img

when you choose open in Other Browsers, a browser list will display, and you could choose one to open current file. img

when you choose open in Default Browser, it means system default browser by default. If you want to configure the default browser, you could override it like that: img if you configured the default browser, when you choose open in Default Browser, your configured browser will works.

you do not need to set open-in-browser.default a very accurate value, as long as the value matches any of the following terms, I will handle it: Chrome values: chrome, google chrome, google-chrome, gc Firefox values: firefox, mozilla firefox, ff IE values: ie, iexplore Safari values: safari Opera values: opera Chromium values: chromium Firefox Developer Edition values: firefox developer, fde, firefox developer edition Edge values: edge, msedge, microsoftedge

Shortcuts

key command
Alt + B open in default browser
Shift + Alt + B open in specified browser

Changelog

see changelog for more infomation

License

MIT