VSCode: modify the regex to find filename+line-no in terminal panel

Viewed 44

Whenever in the terminal panel there is a file name with a line number, there is an option (on Mac) to [command] + click it to open the file at that line.

so this works:

./myfile.txt:10

Now I have test output that uses a slightly different format;

./myfile.txt @ 10

And that doesn't work (only the filename is recognized, not the line number)

Is there a way to customize how those names+line numbers are matched? such that I can reconfgure it to also match on my test output?

0 Answers
Related