AdguardTeam / AdguardTeam/VscodeAdblockSyntax

Add formatter option to the VSCode extension

Aperta
#98 10 commenti 3 reazioni 0 assegnatari Vedi su GitHub
feature request question
Lingua principale
TypeScript
Stelle
88
Fork
8
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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 initial idea is to sort the filter lists so that all rules for a given website were collected together. Something like this:

```
google.com###banner
||example.org^$domain=google.com
||google.com/test
```

At the same time we should take comments into account. Maybe allow grouping rules into a single section using special comments.

Anyways, lets discuss.

CC @AdguardTeam/filters-maintainers @maximtop @scripthunter7

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.