I want to be able to use both Firefox and Google Chrome browers from Sublime
Problem: How do I open a html file in Google Chrome from Sublime Text 3?
1) Ubuntu Linux Version 14.04
2) Google Chrome Version Version 50.0.2661.75 (64-bit)
3) Sublime Text 3 (build 3103) (Single User Licence)
I followed these instructions and created a sublime-build like this
** "cmd": ["open", "-a", "Google Chrome", "$file"]**
I saved the build file, closed Sublime Text and restarted it. I tried to get Chrome to
open from Sublime Text by using Control + Alt + V.
I get Firefox opening up instead of Chrome.
I also tried
** “cmd”: [“open, “-a”, “/etc/alternatives/google-chrome”, “$file”]**
that also failed to work.
I tried an alternative approach.
I have control package manager installed , I followed instructions from this link
I type Control + Shift + P, then “Package Control”,
I do have options appear such as :
Package Control:Add Channel
Package Control: Add Repository
but according to this link :
There should be a plugin called “View in Browser Plugin”, under the section “Method 1: Install the View in Browser Plugin”.
This option is not available
How can I add Google Chrome, so that I can open the html file from either Firefox or Chrome? I
don't have much experience with this. Thanks in advance