You can now right click the file in the tab bar to open in browser
Finally, you can open html pages with browsers you specified.
Usually, I use Firefox browser for convenience, however, I prefer to use Chrome browser when I debugging my html pages. In previous versions, I can not get it. But now, we can.
Use the Alt-B shortcut to open in the default browser (see setting information below), or Alt-Shift-B to choose a browser. Alternatively, use right-click context menus in the sidebar, tabbar, or body of an HTML file.
In this version, I add a "open-in-browser.default" configuration option. You can set the value to the name of your favorite browser. if the value is correct and not empty, when you open the browser directly through the shortcut keys, it will open the browser that you specified, rather than the system default browser.
For some reason, acceptable browsers are as follows:
You do not need to set a very accurate value, only if the value in the array, I will handle it:
chrome browser acceptable values:
[ 'chrome', 'google chrome', 'google-chrome', 'gc', '谷歌浏览器' ]
firefox browser acceptable values:
[ 'firefox', 'ff', 'mozilla firefox', '火狐浏览器' ]
ie browser acceptable values:
[ 'ie', 'iexplore' ]
safari browser acceptable values:
[ 'safari' ]
opera browser acceptable values:
[ 'opera' ]
if you do not know how to do, see the gif below:
This is not enough, now, you can open html pages in other browsers.
when you right click, you may find a new item "open in other browsers
", if you click it, you will get a browsers list, then you can choose one to open this page.
of course, you can also get it with shortcut Alt+Shift+B
see the demonstration gif:
I spend a day doing this and I tested on windows, mac os and ubuntu, if you find any bug, let me know, thanks.
MacOS, Linux, Windows
added context menu option to tab bar
add opera
support
change icon; beautiful, right?
change Licence
add default browser
configuration option
add open in other browsers
add open file by right click menu item
fix some bug
add shortcut Alt + B
modify the command on linux...
BASIC SUPPORT...
Apache Licence 2.0