Is it possible to emulate gdb's 'subsitute-path' behavior in the gcc problemMatcher ? #8198
Unanswered
Timothee "TTimo" Besset (TTimo)
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have a build task that uses the gcc problemMatcher, but the output has file paths that need to be transformed in order to match with the source locally.
I haven't found the documentation detailing all the features supported by
fileLocation; the typical defaults"autoDetect"and"${workspaceFolder}/src"are not doing me much good atm.Can I remap the paths or use a regexp in some way? In gdb world, this is what we do:
set substitute-path /data_docker G:/project/src.. how can I do the same in problemMatcher?All reactions