davidlday / vscode-languagetool-linter

A from scratch redesign of LanguageTool integration for VS Code.
https://marketplace.visualstudio.com/items?itemName=davidlday.languagetool-linter
Apache License 2.0
158 stars 13 forks source link

Purge list of detected problems when disabling the linter temporarily #772

Open Prodeguerriero opened 2 months ago

Prodeguerriero commented 2 months ago

Describe the bug

If the linter has detected a problem on the file I am working on, setting the toggle to off does not force the linter to “purge” the list of problems. Instead, I have to close the file and open it again

To Reproduce Steps to reproduce the behavior:

  1. Open a file with known linting problems
  2. Make sure the linter detects them and they appear in the PROBLEMS tab
  3. Use the toggle to disable the linter
  4. The problems are not purged.

Expected behavior When the linter is disabled, the list of detected issues should be purged.

Additional context See #768