You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the code below, it assumes all paths from gcc, etc are relative -- but they are not. The fix is describe at the link below, the change is simple and seems to work on mac and linux. Change the word "relative" to "autoDetect"
Note that the file, line, and message properties are mandatory. The fileLocation specifies whether the file paths that are produced by the task output and matched in the problem are absolute or relative. If the task produces both absolute and relative paths, you can use the autoDetect file location. With autoDetect, paths are first tested as absolute paths, and if the file doesn't exist then the path is assumed to be relative.
In the code below, it assumes all paths from gcc, etc are relative -- but they are not. The fix is describe at the link below, the change is simple and seems to work on mac and linux. Change the word "relative" to "autoDetect"
https://code.visualstudio.com/docs/debugtest/tasks#_output-behavior
Note that the file, line, and message properties are mandatory. The fileLocation specifies whether the file paths that are produced by the task output and matched in the problem are absolute or relative. If the task produces both absolute and relative paths, you can use the autoDetect file location. With autoDetect, paths are first tested as absolute paths, and if the file doesn't exist then the path is assumed to be relative.
The text was updated successfully, but these errors were encountered: