AdguardTeam / AdguardTeam/VscodeAdblockSyntax

Add formatter option to the VSCode extension

未关闭
#98 10 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
feature request question
主要语言
TypeScript
星标
88
派生
8
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。