microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
165k stars 29.54k forks source link

Problems do not show up in problems panel with repeated tasks #228883

Open anthonykim1 opened 2 months ago

anthonykim1 commented 2 months ago

With contributing the problem matcher from the extension standpoint, repeated use of the same exact task produces weird behavior:

  1. First time the task is ran with contributed problem matcher, the error/problems show up in the problems panel properly.
  2. The very next time I run the exact same task, the problem/error somehow disappears entirely: https://github.com/microsoft/vscode-python/pull/24114#issuecomment-2353989195
  3. This issue of problems disappearing does not happen if the task terminal is in brand new state. (So in order to have problems show up each time with the same task+problem matcher), I would have to exit out of any existing task terminal and re-run.

@meganrogge Also mentioned that this does not seem unique to task again, when she ran the vscode build task, there would be errors in the buffer, but none reported in the problems area.

meganrogge commented 2 months ago

may be a duplicate of #9635