gcollazo / BrowserRefresh-Sublime

This plugin will switch from ST2 and ST3 to Google Chrome, Google Chrome Canary, Safari, Firefox or Opera and reload the active tab
http://gcollazo.github.com/BrowserRefresh-Sublime
565 stars 62 forks source link

Pref menu not available in Win64 #20

Closed timiyay closed 10 years ago

timiyay commented 11 years ago

This plugin rules! Works like a dream on my Mac at home.

At work, I'm on Win7 64-bit, and after installing/re-installing the plugin, I have no Browser Refresh preference options available for tweaking the 'Preferences' menu.

I'm trying to switch the browser to 'Firefox', and activate_browser to false.

When I go to Preferences > Package Settings > Browser Refresh, my only options are:

I have no 'Settings' options for adding my desired prefs - putting them within the key binding in either of these places has no effect.

enriquein commented 11 years ago

The settings you're looking for are actually parameters sent to the keybound command. Open Key Bindings - User and if you don' t have the keys bound there, then paste this:

{
    "keys": ["ctrl+shift+r"], "command": "browser_refresh", "args": {
        "auto_save": true,
        "delay": 0.5,
        "activate_browser": false,
        "browser_name" : "Firefox"
    }
}

I would like to add, however, that the activate_browser option is ignored under Windows since you can't send keyboard commands to inactive Windows (AFAIK). Also, if you're using Sublime 64-bit, you're in luck because I just sent a pull request yesterday that fixes some of the funkyness the plugin was having under 64bit.

gcollazo commented 10 years ago

I won't be supporting win anymore. If you can please submit a pull request.