AdguardTeam / AdguardTeam/VscodeAdblockSyntax

Add formatter option to the VSCode extension

Abierto
#98 10 comentarios 3 reacciones 0 asignados Ver en GitHub
feature request question
Lenguaje dominante
TypeScript
Estrellas
88
Forks
8
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.