Sublime Text LaTeXTools console autohide
- by DCh
The build script in the LaTeXTools plugin for Sublime Text editor pops up the console, where the result of the compilation is written.
I would like the console to auto-hide once the compilation is finished and there are no errors (and to stay open otherwise).
I knew how to achieve this with Sublime Text 2. (I think I inserted two lines sublime.active_window().run_command("show_panel", {"panel": "console", "toggle": True}))
somewhere in the build script.)
How to achieve this behavior with Sublime Text 3?
How to (properly) achieve this behavior with Sublime Text 2?