mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
expand editor code region styles
Expand editor code region styles. Allow a space after the leading comment indicator. Allow both single line and block comments. Examples: // #region name (* region name *)
This commit is contained in:
parent
d06bf76099
commit
d95f9a43c4
|
@ -24,8 +24,8 @@
|
|||
"folding": {
|
||||
"offSide": true,
|
||||
"markers": {
|
||||
"start": "^\\s*//#region",
|
||||
"end": "^\\s*//#endregion"
|
||||
"start": "^\\s*//\\s*#region|^\\s*\\(\\*\\s*#region(.*)\\*\\)",
|
||||
"end": "^\\s*//\\s*#endregion|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue