Home Download Buy Blog Forum Support

[Fixed] Keybind for showing Build Output, Cancel Build

[Fixed] Keybind for showing Build Output, Cancel Build

Postby tfiner on Wed Jun 27, 2012 3:21 pm

I'm on OS X, running Sublime 2, build 2210 and am trying to bind a key to show the build output window.

These doesn't work (and other alternatives I've tried).

# I'm trying to bind a key to show the build output here, nothing seems to work:
{ "keys": ["super+ctrl+o"], "command": "show_panel", "args": {"panel": "output"} },

# Attempt to bind a key to cancel a build in progress.
{ "keys": ["ctrl+c"], "command": "terminate" },

Is there some special sauce I'm missing?
Last edited by tfiner on Wed Jun 27, 2012 4:37 pm, edited 1 time in total.
tfiner
 
Posts: 4
Joined: Wed Jun 27, 2012 3:10 pm

Re: Keybind for showing Build Output, Cancel Build

Postby quarnster on Wed Jun 27, 2012 3:31 pm

The name of the build output panel is "output.exec".
I have this in my user keybinding settings
Code: Select all
    { "keys": ["super+shift+b"], "command": "show_panel", "args": {"panel": "output.exec", "toggle": true} },


The command for killing the build (as can be seen by opening <packages>/Default/Main.sublime-menu) is not terminate. Try this:
Code: Select all
  { "keys": ["ctrl+c"], "command": "exec", "args": {"kill": true}}
quarnster
 
Posts: 389
Joined: Tue Nov 29, 2011 11:34 am

Re: Keybind for showing Build Output, Cancel Build

Postby tfiner on Wed Jun 27, 2012 4:36 pm

Thanks, both binds work fine!
tfiner
 
Posts: 4
Joined: Wed Jun 27, 2012 3:10 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 29 guests