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
* Update 0276-problem-matchers.md
Update to reflect current behavior
* Update docs/adrs/0276-problem-matchers.md
Co-authored-by: Ferenc Hammerl <31069338+fhammerl@users.noreply.github.com>
Copy file name to clipboardexpand all lines: docs/adrs/0276-problem-matchers.md
+9-7
Original file line number
Diff line number
Diff line change
@@ -10,29 +10,31 @@ Compilation failures during a CI build should surface good error messages.
10
10
11
11
For example, the actual compile errors from the typescript compiler should bubble as issues in the UI. And not simply "tsc exited with exit code 1".
12
12
13
-
VSCode has an extensible model for solving this type of problem. VSCode allows users to configure which problems matchers to use, when scanning output. For example, a user can apply the `tsc` problem matcher to receive a rich error output experience in VSCode, when compiling their typescript project.
13
+
VSCode has an extensible model for solving this type of problem. VSCode allows users to configure which [problems matchers](https://code.visualstudio.com/docs/editor/tasks#_defining-a-problem-matcher) to use, when scanning output. For example, a user can apply the `tsc` problem matcher to receive a rich error output experience in VSCode, when compiling their typescript project.
14
14
15
15
The problem-matcher concept fits well with "setup" actions. For example, the `setup-nodejs` action will download node.js, add it to the PATH, and register the `tsc` problem matcher. For the duration of the job, the `tsc` problem matcher will be applied against the output.
0 commit comments