haskell / haskell/vscode-haskell

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

未关闭
#1,394 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
597
派生
98
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。