AdguardTeam / AdguardTeam/VscodeAdblockSyntax

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

Aperta
#139 6 commenti 0 reazioni 1 assegnatario Rivendicata da @maximtop Vedi su GitHub
Priority: P4
Lingua principale
TypeScript
Stelle
88
Fork
8
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.