Skip to content

Not Clearing Issues #3132

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

Open
doadin opened this issue Mar 25, 2025 · 2 comments
Open

Not Clearing Issues #3132

doadin opened this issue Mar 25, 2025 · 2 comments

Comments

@doadin
Copy link

doadin commented Mar 25, 2025

How are you using the lua-language-server?

Visual Studio Code Extension (sumneko.lua)

Which OS are you using?

Windows

What is the issue affecting?

Diagnostics/Syntax Checking

Expected Behaviour

Running a Diag should only show current issues.

Actual Behaviour

Without going into much detail I have a python program that converts files in one language into lua. When I run it the files obviously change and the "problems" tab count changes but when I click on some issues it will go away (if they don't exists anymore) even if I do a workspace diag run( clicking lua in bottom right and choosing "Perform workspace diagnosis") it still contains these like old diag issues, like they are not being cleared out.

Reproduction steps

clicking lua in bottom right and choosing "Perform workspace diagnosis" issues are not cleared.

Additional Notes

No response

Log File

No response

@doadin
Copy link
Author

doadin commented Mar 25, 2025

Clicking on an issue that is no longer valid or opening files that contain these old issues the "Problems" tab/count will update.

However this makes it very hard to check if my changes are good if I have to open many files for it to update instead of it just updating when the workspace diag is run.

@doadin
Copy link
Author

doadin commented Mar 25, 2025

Kind of a example I will run a workspace diag, and next to a file it will say 9+ for the problems, but then I click on the file and then it goes down to 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant