RobotSenior
RobotSenior

Reputation: 41

How do I get my output panel back in Sublime Text (OSX)?

When I began ST there was a box at the bottom that provided feedback on my code. I've named that the output panel (please enlighten me if that is not the correct term for it)

https://i.sstatic.net/wrUw1.jpg

I must have changed a setting accidentally, because at some point I noticed it had disappeared.

http://imgur.com/a/yAzY6

Solutions tried:

  1. Scrolling the mouse around the area at the bottom of the ST window to try find a bar to drag up, in the hope that would bring the output panel back into view.

  2. Tools/Build Results/Show Build Results.

  3. Clicking on the icon at the far left of the window's bottom panel, selecting "Build Results". There is a "Hide Panel" option too which I've selected. After I select this option the menu remains the same except that that option is no longer there. I can bring it back by selecting the "Build Results" option.

  4. Dragging ST from the applications folder to the Trash, re-downloading the .dmg file from the Internet, and installing the program again.

PS: I've Googled and can't find anyone who has experienced a similar issue.

Upvotes: 1

Views: 2570

Answers (2)

RobotSenior
RobotSenior

Reputation: 41

Remove ST (including the system files), download and install again to restore default settings with an output panel.

(This worked for me because I have just started in ST. I imagine it would be an unsatisfactory solution for someone who has customised ST and doesn't want to return to the default settings.)

Upvotes: 1

Frax
Frax

Reputation: 3093

In Sublime Text, you have the console panel (in which you can enter python commands) and output panels (which can be many). The console panel is called console (and the default key to open it is CTRL+`), and one already existing output panel is called output.exec (which displays output from building code for example).

To toggle (open/close) a panel, you can bind it to a key:

  • Open Sublime Key Binding Preferences
  • In the User Settings file, add a line such as: { "keys": ["alt+backquote"], "command": "show_panel", "args": {"panel": "console", "toggle": true} }
  • Save the file, and try your new shortcut key.

Your User keybindings file should look something like this:

[
    { "keys": ["alt+backquote"], "command": "show_panel", "args": {"panel": "console", "toggle": true} },
    { "keys": ["alt+shift+backquote"], "command": "show_panel", "args": {"panel": "output.exec", "toggle": true} }
]

Note 1: This is JSON so there must be a comma after each line except the final line.

Note 2: Be careful not to set a shortcut already used by your system (Mac OS X)

Modifier Keys:

  • ctrl = Control key
  • alt = Alt/Option key
  • shift = Shift key
  • super = Command key (or the windows key on MSWindows). It's the key next to the space key usually.

You can see what panels are available by opening the console panel and typing window.panels()

Upvotes: 2

Related Questions