Sublime Forum

How to ensure SublimeLinter output pane is automatically displayed?

#1

Hi all. Every time I open a file in SublimeText, I need to also manually display the SublimeLinter output pane (screenshots). Is there a way to ensure this output pane is automatically displayed every time I open SublimeText?

Thanks in advance.

0 Likes

#2

You should be able to put a startup.py in your Packages/User directory with contents like:

import sublime
import sublime_plugin

class ShowPanel(sublime_plugin.EventListener):
    def on_activated_async(self, view):
        view.window().run_command("show_panel", {"panel": "output.SublimeLinter"})

You probably have to fiddle with what events to use though, this example isn’t that nice. Anyway, hope that gets you started in the right direction.

0 Likes

#3

OK thanks for that. I actually no longer need the output pane to display automatically. The linter notifications began appearing in the gutter, as expected. So now I can see the errors, warnings, etc. When I made this post, they weren’t appearing. Maybe I just needed a reboot.

Anyway, thanks for the help. If I ever need to show the output pane, I’ll give this a shot.

0 Likes