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

Problems related to std.debug.print formatting do not disappear from the Problems tab

Open nurpax opened this issue 1 year ago • 1 comments

Consider this sequence of operations.

Step 1: no errors in the Output tab:

image

Step 2: introduce an error on the std.debug.print line:

image

Step 3: fix it and hit Save. Alas, observe how the error doesn't go away.

image

It does go away if I reload VSCode.

I think the error is only discovered when using the zig build check feature, as I believe ZLS doesn't find format string errors without it.

nurpax avatar Dec 22 '24 21:12 nurpax

This issue is tracked by https://github.com/zigtools/zls/issues/2018.

Techatrix avatar Dec 22 '24 22:12 Techatrix