vscode-docs icon indicating copy to clipboard operation
vscode-docs copied to clipboard

Problem Matcher Example image is incorrect

Open rioj7 opened this issue 4 years ago • 0 comments

On the page about tasks is the image in the section about Defining a problem matcher wrong.

In the image the whole word prinft has a squiggle, but the error message only has a line:char position.

If I recreate the error with the following task

    {
      "label": "echo helloWord Error",
      "type": "shell",
      "command": "echo helloWorld.c:5:3: warning: implicit declaration of function ‘prinft’",
      "problemMatcher": {
        "owner": "cpp",
        "fileLocation": ["relative", "${workspaceFolder}"],
        "pattern": {
          "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
          "file": 1,
          "line": 2,
          "column": 3,
          "severity": 4,
          "message": 5
        }
      }
    }

Only the p gets a squiggle.

rioj7 avatar Feb 12 '22 23:02 rioj7