AdguardTeam / AdguardTeam/VscodeAdblockSyntax

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

Aberta
#139 6 comentários 0 reações 1 responsável Reivindicada por @maximtop Ver no GitHub
Priority: P4
Linguagem predominante
TypeScript
Estrelas
88
Forks
8
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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)

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.