VscodeAdblockSyntax
VscodeAdblockSyntax copied to clipboard
Comprehensive extension to manage Adblock Syntax in VSCode: syntax highlighter, linter and much more. Available on the VSCode Marketplace.
Tester should throw an error if the TMLanguage file is not structured correctly or if any regular expression is syntactically incorrect. For both scenarios, the error message should be explicit...
I noticed this when working on https://github.com/DandelionSprout/adfilt/commit/7f50937e2924f16129baa20810a276c9f44a6962 some minutes before I submitted this issue report, where the $ sign in `||www.amazon.$removeparam=/^[a-z_]{1,20}=[a-zA-Z0-9._-]{80,}$/` is shown by the VS syntax as invalid, despite...
Based on the TMLanguage, it is possible to tokenize various inputs and then compare them with a token list. This makes [test_rules.txt](https://github.com/ameshkov/VscodeAdblockSyntax/blob/master/test_rules.txt) unnecessary in practice (good for a demo at...
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....
Some AGLint rules can offer fixes. These should be handled by the VSCode plugin's quick fix Also, we need to add a "Fix all auto-fixable problems" option
For example, show descriptions and documentation links for: - modifiers - scriptlets - Extended CSS pseudo classes Also, we need to introduce an option within extension settings where this feature...
Currently, the extension does not support multiple folders being open at the same time within the same workspace. References: - https://code.visualstudio.com/docs/editor/multi-root-workspaces - https://github.com/microsoft/vscode-extension-samples/tree/main/lsp-multi-server-sample
VSCode has a [web version](https://code.visualstudio.com/docs/editor/vscode-web). A typical use case for this is github.dev, accessed by pressing the `.` hotkey in any repo. AGLint supports the browser environment, however, project scanning...