Sublime Forum

What is the default format for build output?

#1

Currently my output is:
{path}{filename}:{line}:{column} {message}
but double clicking is not jumping to the error line. What is the expected default?

0 Likes

#2

Share with us what build system do you use.

0 Likes

#3

It’s my own tool, so I can adapt the format to what ever ST3 expects

0 Likes

#4

Expectation is set in file_regex property in build system’s definition. You can read about it here. In short you need to put a regex in this property with 4 capturing groups: for filepath, line, column and message.

0 Likes

#5

Ah thank you! FYI for my output format I use the following Regex:
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",

0 Likes