AdguardTeam / AdguardTeam/VscodeAdblockSyntax

Add formatter option to the VSCode extension

Aberta
#98 10 comentários 3 reações 0 responsáveis Ver no GitHub
feature request question
Linguagem predominante
TypeScript
Estrelas
88
Forks
8
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.