VscodeAdblockSyntax
VscodeAdblockSyntax copied to clipboard
Comprehensive extension to manage Adblock Syntax in VSCode: syntax highlighter, linter and much more. Available on the VSCode Marketplace.
VSCode has a command to detect the package manager: `npm.packageManager`. This setting could be combined with our package manager logic to make the process automatic (in the current solution, user...
uBO has started to support using quotes in values https://github.com/uBlockOrigin/uAssets/blob/562d4c6043f38ec3786dc34119d26e711140d6cf/filters/annoyances-cookies.txt#L124 I see that the quoted value still has commas colored in red. _Originally posted by @peace2000 in https://github.com/AdguardTeam/VscodeAdblockSyntax/issues/95#issuecomment-1842587463_
At this point this is an issue for discussing how the formatter can be implemented and how exactly the filter lists and individual rules should be formatted / sorted. My...
Currently, the supported modifier names are in a predefined list, so for each new modifier, the syntax highlighter should be modified to support it properly. This is often a time-consuming...
Reference: https://github.com/AdguardTeam/AGLint/issues/143
A lot of adblock filter rules use CSS, so we should consider implementing a good CSS highlighter according to our goals (this doesn't necessarily mean full CSS support, e.g. we...
Sorry for several things in one issue. * `$extension`: https://github.com/AdguardTeam/KnowledgeBase/pull/197 * `$referrerpolicy`: https://github.com/AdguardTeam/KnowledgeBase/pull/180 * `$method` and `$to` have been added: https://github.com/AdguardTeam/KnowledgeBase/pull/204 * `$stealth` now supports disabling specific features: https://adguard.com/kb/general/ad-filtering/create-own-filters/#stealth-modifier
> Code snippets are templates that make it easier to enter repeating code patterns, such as loops or conditional-statements. We can specify the main use cases in this feature so...
When the linter extension is loaded, we should print to the output console which config files are used. Reference: https://github.com/ameshkov/VscodeAdblockSyntax/pull/63#discussion_r1173658908
AGLint config files can be validated in the VSCode editor if the following field is filled in the `package.json` file of the extension: https://code.visualstudio.com/api/references/contribution-points#contributes.jsonValidation If we switch to `zod`, we...