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

Google Chrome Canary Compatibility #43

Closed hollycunningham closed 9 years ago

hollycunningham commented 9 years ago

Is this an accurate solution for adding compatibility with Chrome Canary?

{ "supportedBrowsers": { "canary": [ { "osname": "posix", "platform": "darwin", "command": "open -a '/Applications/Google Chrome Canary.app'" } ] },

"selectedBrowser": "canary" }

(Apologies for the bad formatting.)

Source: https://github.com/sapegin/dotfiles/blob/master/sublime/User/View%20In%20Browser.sublime-settings

adampresley commented 9 years ago

In the most recent version of View In Browser the format would look like this.

{
   "posix": {
      "darwin": {
         "canary": "open -a '/Applications/Google Chrome Canary.app'"
      }
   },

   "browser": "canary"
}
hollycunningham commented 9 years ago

Yes, works like a charm! Thanks for the useful package.