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

nothing happens #14

Closed K4N6UN closed 11 years ago

K4N6UN commented 11 years ago

hi!! i'm trying to make your package work, windows7, sulbime text 2 portable version, but when i do my ctrl+shift+r, nothing happens

have i got to have only one tab on my browser? how can i make open a new window, or directly open the browser? thx for answers and sorry for noob questions...

gcollazo commented 11 years ago

So, it turns out the plugin is not working on Windows 64bit. I did the development using a VM that was 32bit (On my Mac).

@enriquein is helping out to fix this. He already has something working on his fork. We should publish an updated version pretty soon. Fingers crossed!

K4N6UN commented 11 years ago

tryied, but nothing happens -perhaps i'm doing it wrong-, hope you will fixe it soon thanks for your help

gcollazo commented 11 years ago

Just merged a fix that might fix this issue. Please give it another try and let me know if it works.

K4N6UN commented 11 years ago

so, now it's okay for that point : first i click ctl+shit+r, it comes on firefox second type of ctrl+shift+r, it update the page wich is already open on firefox...

is that what it has to do?

2012/10/12 Giovanni Collazo notifications@github.com

Just merged a fix that might fix this issue. Please give it another try and let me know if it works.

— Reply to this email directly or view it on GitHubhttps://github.com/gcollazo/BrowserRefresh-Sublime/issues/14#issuecomment-9365078.

K4N6UN commented 11 years ago

but is there any way you can tell me i can found log, or any message that can helps you???

enriquein commented 11 years ago

What should happen is:

Try not to change focus or hit other keys before the auto reload happens.

Also, to answer your two original questions:

have i got to have only one tab on my browser?
how can i make open a new window, or directly open the browser?

You can have as many tabs open as you want, the plugin will blindly reload the active tab.

This plugin will not open new windows, it will just activate your currently open browser. Another caveat to keep in mind is that at least on Windows, the API will not restore minimized windows. Make sure your browser isn't minimized before hitting the key combination in SublimeText.

And to elaborate on another point you hit:

second type of ctrl+shift+r, it update the page wich is already open on firefox...

Ctrl+Shift+R also happens to be the reload key on Firefox, so that's why you're reloading the page when you hit the key combination once Firefox has been activated. You shouldn't need to hit the key combination again after Firefox activates, the plugin should be doing this for you by now.

K4N6UN commented 11 years ago

Many, Many, Many, Many thx for your answers, now it works !!!!

2012/10/12 Enrique Ramirez notifications@github.com

What should happen is:

  • You hit ctrl+shift+r and firefox pops up and steals focus
  • One second later Firefox will auto reload itself.

Try not to change focus or hit other keys before the auto reload happens.

Also, to answer your two original questions:

have i got to have only one tab on my browser? how can i make open a new window, or directly open the browser?

You can have as many tabs open as you want, the plugin will blindly reload the active tab.

This plugin will not open new windows, it will just activate your currently open browser. Another caveat to keep in mind is that at least on Windows, the API will not restore minimized windows. Make sure your browser isn't minimized before hitting the key combination in SublimeText.

— Reply to this email directly or view it on GitHubhttps://github.com/gcollazo/BrowserRefresh-Sublime/issues/14#issuecomment-9366305.

Guillaume BASSINET http://www.eclecticshots.org http://kangun.free.fr