Skip to content

Commit 3b5c309

Browse files
Support folding (collapsing code blocks) for #if...#endif
1 parent 480be90 commit 3b5c309

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# v0.8.0
2+
3+
## New Features
4+
5+
* Support folding (collapsing code blocks) for `#if...#endif`.
6+
17
# v0.7.1
28

39
## Changes

language-configuration.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,11 @@
2727
[ "(", ")" ],
2828
[ "'", "'" ],
2929
[ "\"", "\"" ]
30-
]
30+
],
31+
"folding": {
32+
"markers": {
33+
"start": "^\\s*#if",
34+
"end": "^\\s*#endif"
35+
}
36+
}
3137
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "fastbuild-support",
33
"displayName": "FASTBuild Support",
44
"description": "FASTBuild language support. Includes go-to definition, find references, variable evaluation, syntax errors, etc.",
5-
"version": "0.7.1",
5+
"version": "0.8.0",
66
"preview": true,
77
"publisher": "HarrisonT",
88
"author": {

0 commit comments

Comments
 (0)