Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nurpax opened this issue Dec 22, 2024 · 1 comment
Labels
lsp Issue with language server integration

Comments

@nurpax
Copy link

nurpax commented Dec 22, 2024

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.

@Techatrix
Copy link
Collaborator

This issue is tracked by zigtools/zls#2018.

@Techatrix Techatrix added the lsp Issue with language server integration label Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lsp Issue with language server integration
Projects
None yet
Development

No branches or pull requests

2 participants