Sublime Forum

Build output panel settings

#1

Hi there,

I have written a small plugin which uses its own output panel to print messages. It works well, but I see now that the Console and the output panel created by my plugin use an other style than the “Build output” panel. Here two screenshots. Console:

Build output panel:

So I have a few questions about the build output panel.

  1. How is it possible to use the same setting for all panels? Especially background color and the ruler.
  2. Is it possible to set the syntax of the output panel via a project setting?

Thanks in advance!

1 Like

#2

The color_scheme setting is inherited from your normal settings. Console is styled by the theme.

It’s usually best to just set the output’s syntax explicitly, using .set_syntax_file("Packages/<Name>/<Path-to-syntax>"). You can do anything you want in the plugin code anyway.

1 Like

#3

Hi @FichteFoll,
I have a LaTeX file which uses a Makefile to build. I use the standard makefile build system to compile my project. However, I would like to disable the ruler in the build output panel, and it would also be nice to use the syntax “LaTeX Log” for the output or disable the styling of the build panel completely such that it looks similar to the other panels. How can I do that?

1 Like

#4

See the syntax setting for build systems: http://docs.sublimetext.info/en/latest/reference/build_systems/exec.html
Unfortunately erasing the ruler is not so trivial.

You could also just use a package like https://packagecontrol.io/packages/LaTeXTools, which does all this (except for erasing rulers, probably) and more.

1 Like