adampresley / sublime-view-in-browser

Open the contents of your current view/tab in a web browser
MIT License
272 stars 69 forks source link

Can't change browser #53

Closed brandonmcconnell closed 8 years ago

brandonmcconnell commented 9 years ago

I installed View in Browser and changed the user settings to view in Chrome, closed and reopened Sublime, but all my files still open in Firefox.

I used your instructions here: https://github.com/adampresley/sublime-view-in-browser/wiki/Configuring-Browsers

HarrisJT commented 9 years ago

same, windows and linux

NDanielle commented 8 years ago

I've also confirmed that these steps do not work.

HarrisJT commented 8 years ago

do this NDanielle and anyone else http://www.c-sharpcorner.com/UploadFile/370e35/how-to-configure-sublime-text-to-open-html-file-in-chrome-on/

mitch-c-miller commented 8 years ago

Similar issue. In Win10, Chrome won't open, but firefox and edge will. Works perfectly on my Mac running the most recent public release.

cohdee commented 8 years ago

I was able to get mine working with "browser": "chrome64" instead of "browser": "chrome" in the View In Browser user settings. Hope this helps!

Jolva commented 8 years ago

Yes, per above, changing to "chome64" did the trick on Windows 8.1 as well.

ghost commented 8 years ago

You can use CTRL+ALT+C from sublime text and it will open the file on chrome if it does not just go to preferences/browse packages and look for a folder called View In Browser then if you are using windows open a file called Default (Windows).sublime-keymap there you will find commands to open files on safari, IE, firefox, and chrome. Change this { "keys": [ "ctrl+alt+c" ], "command": "view_in_browser", "args": { "browser": "chrome" } }, to { "keys": [ "ctrl+alt+c" ], "command": "view_in_browser", "args": { "browser": "chrome64" } }, if you are using 64 bits. If you need to change the route for chrome just open a file called View In Browser and make sure the route is correct. Hope It helps