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

Request: command to clear all Viper diagnostics #411

Open
fpoli opened this issue Oct 20, 2023 · 2 comments · May be fixed by #442
Open

Request: command to clear all Viper diagnostics #411

fpoli opened this issue Oct 20, 2023 · 2 comments · May be fixed by #442
Labels
enhancement New feature or request

Comments

@fpoli
Copy link
Member

fpoli commented Oct 20, 2023

When Viper reports a diagnostic, it remains in the VS Code problems tab even after deleting the Viper program. It would be nice to have a "clear diagnostics" command to get rid of all Viper diagnostics (clearing the status bar as well) without having to restart the IDE.

@fpoli fpoli added the enhancement New feature or request label Oct 20, 2023
@rayman2000 rayman2000 linked a pull request Apr 2, 2024 that will close this issue
@rayman2000
Copy link
Contributor

rayman2000 commented Apr 2, 2024

@fpoli
There already exists a command "remove diagnostics caused by this file", which removes the diagnostics but does not clear the status bar.
To be sure: What you want is for this command to also clear the bar, not for there to be an additional command right?

@fpoli
Copy link
Member Author

fpoli commented May 17, 2024

Thanks, I didn't know that command. I just tried again. Now, when moving the focus from file A to file B the IDE automatically clears diagnostics generated by the file A. So, it's no longer possible to have leftover diagnostics generated by a deleted file. This was my main issue.

When preparing the laptop before a Viper demo it's usually nice to also clear the status bar. It would be nice to have a command for that, but the benefit is so little that I'd be fine with closing the issue.

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

Successfully merging a pull request may close this issue.

2 participants