nicosantangelo / sublime-gulp

Run Gulp tasks and use snippets from Sublime Text
https://sublime-gulp.nicosantangelo.com/
MIT License
155 stars 18 forks source link

Re-opening Gulp panel after the console has been open #7

Closed William-Owen closed 10 years ago

William-Owen commented 10 years ago

How can I restore the running gulp panel after opening the console?

if I run the gulp task the gulp panel opens and shows the output from gulp. I have a few watch processes and a running server that is started though my gulp task and the panel is useful for monitoring the output as I develop, However if the Sublime Console is opened (or some other bottom panel) there seems to be no way to get back to / re-open the Gulp panel without killing the tasks and restarting them.

nicosantangelo commented 10 years ago

Have have you tried binding a shortcut to show_panel ? I usually use a new tab so I don't remember if it's the correct solution, but you can do it like this (in Key Bindings - User):

{ "keys": ["{KEYS}"], "command": "show_panel", "args": { "panel": "output.gulp_output" } }

Let me know!

William-Owen commented 10 years ago

Hi there, I tried

[
    { "keys": ["{ctrl+shift+g}"], "command": "show_panel", "args": { "panel": "output.gulp_output" } }
]

But the command output just says

no command for selector: noop:
nicosantangelo commented 10 years ago

Try removing the curly braces from the keys:

[
    { "keys": ["ctrl+shift+g"], "command": "show_panel", "args": { "panel": "output.gulp_output" } }
]

Even if that's not the problem, that's my fault for having a confusing documentation I'll update the README. To clarify if you want to add a custom key binding in Sublime the curly braces aren't needed.

nicosantangelo commented 10 years ago

Any news?

I'm able to re-open the panel (tested in Linux and MacOS).

nicosantangelo commented 10 years ago

I'll close this due to lack of response, let me know if you still have problems with it :)