diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2026-02-14 16:56:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-14 16:56:07 +0100 |
| commit | ffb2796a8d7a8ec485dcd692949e5e1b94e6d359 (patch) | |
| tree | 06ec2876505fc44400dfa0dd3d28140d8ea80f00 | |
| parent | b9e9672594605c93173b68e3a01d96488a976c2d (diff) | |
| parent | dde0f8d6d81249588382672f3fc92e13077d2702 (diff) | |
Add region folding for vscode
| -rw-r--r-- | editors/vscode/language-configuration.json | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/editors/vscode/language-configuration.json b/editors/vscode/language-configuration.json index c0c2a06..489ef65 100644 --- a/editors/vscode/language-configuration.json +++ b/editors/vscode/language-configuration.json @@ -28,5 +28,10 @@ "increaseIndentPattern": "^.*\\{[^}\"']*$|^.*\\([^\\)\"']*$|^\\s*case.*:$", "decreaseIndentPattern": "^\\s*(\\s*\\/[*].*[*]\\/\\s*)*[})]" }, - + "folding": { + "markers": { + "start": "^\\s*//\\s*?region\\b", + "end": "^\\s*//\\s*?endregion\\b" + } + } }
\ No newline at end of file |