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
70 stars 8 forks source link

[FR] Add snippet #40

Closed bestpika closed 3 years ago

bestpika commented 3 years ago

Is it possible to add a snippet function? For example, entering ag-removeparam can generate a line example.com$removeparam=. Although it looks like you've finished typing this, I was actually hoping to add a keyword prompt. This way I can just type ag-re... and I can select the snippet I need.

Thank you.

ameshkov commented 3 years ago

As I recall, this type of things requires adding a "language server" so this duplicates #24.

I wish we could do this at some point, but generally, this is a very complicated task.