Skip to content

After the code execution is completed, the "Problems" tab at the bottom of VSCode does not refresh its content based on the logs. #1539

@zby909

Description

@zby909

Describe the bug

In certain code scenarios (and possibly other situations), after running the code, the Problems tab at the bottom of VSCode does not refresh its content based on the logs.

Steps to reproduce

  1. First, write some incorrect code in test.sas to make the "problem tab" display error or warning messages.

Image

Image

  1. Then, in test.sas, write a specific runnable code snippet. After execution, the "problem bar" fails to refresh according to the latest logs. At this point, users may mistakenly believe their previous error remains unresolved (particularly with complex code, where users prioritize the problem bar's content over log details).

Image

Image

tip: Perhaps this error message will be helpful to you.:

Image

+++It is worth mentioning that this error currently only occurs in version 1.15.0, and earlier versions do not have this issue.

SAS code (if applicable)

test.sas:

%include "v_sdtmInfo_spec.sas";

-----

v_sdtmInfo_spec.sas:

%macro v_sdtmInfo_spec(stdspec=);
    libname stdspec xlsx "&stdspec.";
    
    /* Clean up libname */
    libname stdspec clear;
%mend v_sdtmInfo_spec;

data _null_;
    call execute('%v_sdtmInfo_spec(stdspec=.\DSI Global SDTMIG3.4 Standards Metadata Template V1.0.xlsx);');
run;

Expected behavior

Expect “problem tab” to update normally based on the latest logs

Screenshots

No response

Client OS

No response

Extension version

v1.15.0

SAS version

No response

Additional context

It is worth mentioning that this error currently only occurs in version 1.15.0, and earlier versions do not have this issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions