Disable build window when building in Sublime Text 2

5

3

How can I prevent the build window from showing in Sublime Text 2 whenever I make a build with Ctrl+B?

Randomblue

Posted 2013-01-19T14:49:33.130

Reputation: 2 547

Answers

10

The default setting is in Preferences.sublime-settingsin the Default bundle:

// Shows the Build Results panel when building. If set to false, the Build
// Results can be shown via the Tools/Build Results menu.
"show_panel_on_build": true,

You can either edit that, or add an override to your user settings (on OS X: Sublime Text 2 » Preferences » Settings – User or Cmd,).

Daniel Beck

Posted 2013-01-19T14:49:33.130

Reputation: 98 421

Is it possible disable it only with certain build schemes? – Qwerty – 2015-08-21T12:00:19.970

1

Or you can set it programmatically in Sublime Text 3 with some added logic, eg. show on errors only.

open and edit \Sublime Text 3\Packages\Default\exec.py*
*note: Default.sublime-package is a renamed zip archive.

notice these two functions

def on_data(self, proc, data):
    pass

def on_finished(self, proc):
    # some logic here
    self.window.run_command("hide_panel")

More reading here.

Qwerty

Posted 2013-01-19T14:49:33.130

Reputation: 308