Skip to content

Commit 5f9e67b

Browse files
committed
Add option for formatting code block open braces
1 parent 7ffeed4 commit 5f9e67b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1978,6 +1978,12 @@
19781978
"default": true,
19791979
"description": "Enable/disable default Razor formatter."
19801980
},
1981+
"razor.format.codeBlockBraceOnNextLine": {
1982+
"type": "boolean",
1983+
"scope": "window",
1984+
"default": false,
1985+
"description": "Forces the open brace after an @code or @functions directive to be on the following line."
1986+
},
19811987
"razor.completion.commitElementsWithSpace": {
19821988
"type": "boolean",
19831989
"scope": "window",
@@ -5721,4 +5727,4 @@
57215727
}
57225728
]
57235729
}
5724-
}
5730+
}

0 commit comments

Comments
 (0)