AdguardTeam / AdguardTeam/VscodeAdblockSyntax

Anyway to fold / collapse just for organization purpose inside a uBO filter with VscodeAdblackSyntax ?

オープン
#139 コメント 6 件 リアクション 0 件 担当者 1 名 @maximtop が担当を希望しています GitHub で見る
Priority: P4
主要言語
TypeScript
スター
88
フォーク
8
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi, We are editing uBO filters in VS Code using VscodeAdblackSyntax. Can we use a symbol or a formatting to fold/collapse sections for presentation clarity?

Currently, we are using this presentation format:
```
!=== : as Heading 1 ===
! : as Heading 2
!!: as Heading 3
```
Here is an example:
![image](https://github.com/user-attachments/assets/5afe1e91-4efc-483f-9c2c-f9da55fe788d)
It is not ideal because there is no folding / collapse possibility.

VscodeAdblackSyntax offers folding for pre-parsing directives like !#if / !#endif
![image](https://github.com/user-attachments/assets/8e31a7cc-d1b8-4835-8fe4-c713401e6fa4)
but pre-parsing directives are for coding purposes, not just display purposes. Is there a better way than writting this:
![image](https://github.com/user-attachments/assets/e789e472-90fc-4c4f-aaef-81a69535f8f3)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。