Search This Blog

Monday, April 8, 2013

How to show Build Results panel in Sublime editor

If you like using Sublime editor when coding in Python you love the shortcut ctrl+b. It executes the python interpreter with your script as parameter and prints any stdout or error messages in a new Result panel at the bottom of the window. With a Esc you can instruct the editor to hide this new panel.

Unfortunately there isn't a default shortcut to bring the Result Panel back.

Problem

How to create a shortcut to open Tools -> Build Results -> Show Build Results.

From menu open Preferences -> Bindings -> User and copy this similar config there.
 
{ "keys": ["alt+b"], "command": "show_panel", "args": {"panel": "output.exec"} }

Now with every time you press alt+b the result panel will appear again with the previous output.

References
  1. http://stackoverflow.com/questions/10674030/in-sublime-text-2-reopen-build-output

No comments:

Post a Comment