0

There is a compiler that displays a compile result as below when fired error.

enter image description here

The message format is [File]:[Code]:[Line]:[Column]:[Serverity]:[Message]

I would like to display this to the problem panel so I constructed tasks.json as below.

enter image description here

As a result, it works fine but the squiggle is weird. The squiggle has to be painted correctly under the token that error fired but be painted as below figure.

enter image description here

Is there additional data that the compiler has to provide or configure in the task.json to solve this problem?

iownbey
  • 69
  • 5
jjw
  • 282
  • 3
  • 20
  • if you only have a `line:char` position how do you expect to get a squiggle on a range – rioV8 Feb 12 '22 at 17:48
  • Yes, I also think it is weird but according to https://code.visualstudio.com/docs/editor/tasks#_defining-a-problem-matcher in this example, it seems that there is no information other than line and column. Nevertheless, the squiggle is painted under 'prinft' token. – jjw Feb 12 '22 at 18:35
  • 1
    I have created a [doc issue](https://github.com/microsoft/vscode-docs/issues/5177) – rioV8 Feb 12 '22 at 23:20
  • Thank you I will check the reply of the doc. – jjw Feb 13 '22 at 12:50

0 Answers0