Home Download Buy Blog Forum Support

Is show_panel toggle broken for output panels?

Is show_panel toggle broken for output panels?

Postby quarnster on Wed Jan 11, 2012 11:16 am

I have this key command:
Code: Select all
  {
    "command": "show_panel", "args": {"panel": "output.clang", "toggle": true},
    "keys": ["ctrl+d", "ctrl+p"]
  }


But pressing ctrl+d,ctrl+p only shows the panel, not hides it.

What have I missed?
quarnster
 
Posts: 389
Joined: Tue Nov 29, 2011 11:34 am

Re: Is show_panel toggle broken for output panels?

Postby jps on Wed Jan 11, 2012 1:48 pm

Does it hide it the panel if you give it input focus first?
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: Is show_panel toggle broken for output panels?

Postby quarnster on Wed Jan 11, 2012 2:42 pm

Yes it does. Is this the intended behavior?

Personally I'd like to hide it even if it doesn't have focus. That way I can press the key combo once to show it, then go "ah, that's what's happening" and then press the key combo again to hide it.
quarnster
 
Posts: 389
Joined: Tue Nov 29, 2011 11:34 am

Re: Is show_panel toggle broken for output panels?

Postby jps on Wed Jan 11, 2012 3:02 pm

Agreed, it's an oversight in the way panel toggling works: all the other panels grab input focus when shown, but not the output panel
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: Is show_panel toggle broken for output panels?

Postby DJMurtz on Tue Jan 17, 2012 1:47 pm

Hmm, are we talking about the side bar here? Because I try to show/hide the side bar with the keyboard shortcut that shows up next to the menu item (View > Sidebar > Hide sidebar ⌘K, ⌘B). However, ⌘K triggers Reindent (even though there is no shortcut shown next to the menu item) and ⌘B triggers Build.

Am I missing something here?
DJMurtz
 
Posts: 28
Joined: Mon Apr 18, 2011 7:27 am

Re: Is show_panel toggle broken for output panels?

Postby quarnster on Tue Jun 26, 2012 7:36 pm

jps, this never started working btw. I got reminded today when a SublimeClang user opened up an issue at github for this.
quarnster
 
Posts: 389
Joined: Tue Nov 29, 2011 11:34 am


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 22 guests