is there a shortkey key for show/hide toggle for the corona output console?

Is there a shortkey key for show/hide toggle for the corona output console?

I note there is a “showConsole - ^`” shortcut toggle but when I use this I get a larger console area, which is white not black, and it also contains lots of other lines in addition to the corona output, e.g. such as lots of lines like: 

Unable to auto detect encoding, using fallback encoding Western (Windows 1252)

There are actually two consoles that can be shown, the Sublime Text console which what you describe above and which is generally only interesting to plugin developers and the “build window” which is where Corona puts its output.  

Hitting Escape will close any open panel or console (no matter where the cursor is) so you can use that.  It’s not very discoverable though so I’ll add a menu item to Corona Editor.

Perry, I think what he meant is that while you can close the output I haven’t seen any sort of obvious way to bring it back into view (short of closing Corona and rebuilding) Some ST actions (like find/replace) will kill the Build view.

A way to toggle the build view on and off would be great.

I do agreed too richard9

Perry - in terms of my user feedback on this, I think it would be:   A way to toggle between your normal full screen view (no console) view of the code, and a view that had the console view in it (albeit a view with console & code together).    I note you can’t double click on your code windows tab to expand/de-expand it out (like you can within an eclipse type ide)

Is there a short term solution for this in terms of having the console launch in a separate window altogether?  One you tab backwards and forwards between the two windows (this is how textmate works for me, but it is annoying the number of terminal windows you can end up with if you don’t manually close them)

PS.  Actually is there a way to bring the console (build window) back into view at all?   I jumped into the code area, did a search, and then the build window disappeared so need to get it back?

EDIT: Found it:  Tool => Build Results => Show Build Results…

you can create a shortcut for the show build result window by pasting this into preferences/ Key Bindings - User

[{ "keys": ["super+$"], "command": "show\_panel", "args": {"panel": "output.exec"} }, ]  

excellent - thanks ojnab - do you happen to know if you use this sort of approach to adjust the size of the window, or toggle it on/off too?

You can size the window by dragging up and down on the gap between the build results pane and the editor pane.  Sublime remembers where you last left it.

I have the show build results shortcut set to cmd+$ because then it is almost like a toggle,

since $ is just below escape on my keyboard :slight_smile:

you could also bind “show build results” to for example: “shift+escape”

then escape would hide the terminal and shift+escape would show it…

almost like a toggle :slight_smile:

There are actually two consoles that can be shown, the Sublime Text console which what you describe above and which is generally only interesting to plugin developers and the “build window” which is where Corona puts its output.  

Hitting Escape will close any open panel or console (no matter where the cursor is) so you can use that.  It’s not very discoverable though so I’ll add a menu item to Corona Editor.

Perry, I think what he meant is that while you can close the output I haven’t seen any sort of obvious way to bring it back into view (short of closing Corona and rebuilding) Some ST actions (like find/replace) will kill the Build view.

A way to toggle the build view on and off would be great.

I do agreed too richard9

Perry - in terms of my user feedback on this, I think it would be:   A way to toggle between your normal full screen view (no console) view of the code, and a view that had the console view in it (albeit a view with console & code together).    I note you can’t double click on your code windows tab to expand/de-expand it out (like you can within an eclipse type ide)

Is there a short term solution for this in terms of having the console launch in a separate window altogether?  One you tab backwards and forwards between the two windows (this is how textmate works for me, but it is annoying the number of terminal windows you can end up with if you don’t manually close them)

PS.  Actually is there a way to bring the console (build window) back into view at all?   I jumped into the code area, did a search, and then the build window disappeared so need to get it back?

EDIT: Found it:  Tool => Build Results => Show Build Results…

you can create a shortcut for the show build result window by pasting this into preferences/ Key Bindings - User

[{ "keys": ["super+$"], "command": "show\_panel", "args": {"panel": "output.exec"} }, ]  

excellent - thanks ojnab - do you happen to know if you use this sort of approach to adjust the size of the window, or toggle it on/off too?

You can size the window by dragging up and down on the gap between the build results pane and the editor pane.  Sublime remembers where you last left it.

I have the show build results shortcut set to cmd+$ because then it is almost like a toggle,

since $ is just below escape on my keyboard :slight_smile:

you could also bind “show build results” to for example: “shift+escape”

then escape would hide the terminal and shift+escape would show it…

almost like a toggle :slight_smile: