Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>ABP Filter LinterNew to Visual Studio Code? Get it now.
ABP Filter Linter

ABP Filter Linter

Manuel martinez

|
6 installs
| (0) | Free
Validates Adblock Plus filter syntax in .txt files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ABP Filter Linter

VS Code extension that validates Adblock Plus filter syntax in .txt files.

Installation

Download abp-filter-linter-0.3.0.vsix from the repository and run:

code --install-extension abp-filter-linter-0.3.0.vsix

Then reload VSCode (Ctrl+Shift+P → Developer: Reload Window).

Features

  • Inline squiggles for invalid snippet/filter syntax
  • Full line background highlight (red for errors, yellow for warnings)
  • Typo detection with suggestions for snippet names
  • Argument count and enum validation for all snippets
  • Network modifier compatibility checks
  • CSS selector validation for ## rules
  • ABP pseudo-class validation for #?# rules
  • Duplicate filter detection
  • Only activates on .txt files

Supported Filter Types

Syntax Type
#$# Snippet filters
## Element hiding
#?# Extended selectors
#@# Element hiding exceptions
@@ Exception/allowlist rules
\|\| Network blocking rules

Development

npm install
npm run build
npm test

Press F5 in VS Code to launch the Extension Development Host.

Scope

ABP/AdBlock-only. No AdGuard or uBlock Origin syntax.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft