AdguardTeam / AdguardTeam/VscodeAdblockSyntax

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

未關閉
#139 6 則留言 0 個 reaction 已指派 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 摘要。