Sublime Forum

Configure inline errors

#1

I like the display of inline errors when I write my C programs.
However, the display is a bit weird. Even though I have configured “show_errors_inline: true”, the errors are not really shown inline but at the end of the line, very far away. This is a sample how it looks:

Some questions to this.

a) in some older version of ST, the error display was something like this:
image
can I somehow go back to the old display style? I liked this one because the error display was so close to where the actual error appeared.
b) if it is not possible to go to the old style: why are the errors displayed with so much empty space between the text and the little popup that shows the error message? Can I somehow get rid of this empty space, such that the errors would be displayed more like so:

0 Likes

#2

There’s no setting to switch back to phantoms, no.

The new “annotations” are basically phantoms which are arranged to the right edge of the editor. Size and therefore the space between them and the text is calculated automatically.

To revert to the old style, a custom build script executor was needed.

The default one is Default.sublime-package/exec.py.

0 Likes