haskell / haskell/vscode-haskell

Support VS Code's foldable `#region` by adding `folding.markers` to `language-configuration.json`

Aperta
#1,394 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
597
Fork
98
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Is your feature request related to a problem? Please describe.**

In other languages like Python, putting `#region` and `#endregion` blocks in code results in VS Code's native foldable regions - that is, the code enclosed in the region can be collapsed (folded / hidden).

**Describe the solution you'd like**

Add `folding.markers` to `langauge-configuration.json`, as shown in VS Code docs: https://code.visualstudio.com/api/language-extensions/language-configuration-guide#folding

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.