haskell / haskell/vscode-haskell

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

Open
#1,394 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
597
Forks
98
PR merge metrics
No merged PRs in 30d

Description

**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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.