Add folding configuration

pull/2748/head
Alex Dima 7 years ago
parent 6d29cf6810
commit 98b335974d

@ -121,7 +121,12 @@ const richEditConfiguration:monaco.languages.LanguageConfiguration = {
{ open: '\'', close: '\'', notIn: ['string', 'comment'] },
{ open: '`', close: '`', notIn: ['string', 'comment'] },
{ open: "/**", close: " */", notIn: ["string"] }
]
};
],
folding: {
markers: {
start: new RegExp("^\\s*//\\s*#?region\\b"),
end: new RegExp("^\\s*//\\s*#?endregion\\b")
}
}
};

Loading…
Cancel
Save