AdguardTeam / VscodeAdblockSyntax

Comprehensive extension to manage Adblock Syntax in VSCode: syntax highlighter, linter and much more. Available on the VSCode Marketplace.
https://marketplace.visualstudio.com/items?itemName=adguard.adblock
MIT License
74 stars 8 forks source link

Add "Remove this rule" quick fix option #126

Open scripthunter7 opened 8 months ago

scripthunter7 commented 8 months ago

Currently, quick fix supports two things:

  1. If the filtering rule cannot be parsed, the quick fix offers the possibility to turn off the linter for that filtering rule
  2. If the filtering rule violates one of the linter rules, the quick fix offers the possibility to turn off the given linter rule for that filtering rule

If the rule cannot be parsed, in the future I suggest that we also offer the option in the quick fix to delete the filtering rule