提交 4f9f4ebb 编写于 作者: M Martin Aeschlimann

[folding] regions for html. Fixes #39409

上级 a47be8c8
......@@ -22,5 +22,11 @@
{ "open": "[", "close": "]"},
{ "open": "(", "close": ")" },
{ "open": "<", "close": ">" }
]
],
"folding": {
"markers": {
"start": "^\\s*<--\\s*#region\\b",
"end": "^^\\s*<--\\s*#endregion\\b"
}
}
}
\ No newline at end of file
......@@ -67,6 +67,16 @@
}
}
],
"folding": {
"markers": {
"start": "^\\s*<!--\\s*#region\\b\\s*(.*?)-->/",
"end": "^\\s*<!--\\s*#endregion\\b\\s*(.*?)-->/"
}
},
"snippets": [{
"language": "html",
"path": "./snippets/html.snippets.json"
}],
"configuration": {
"id": "html",
"order": 20,
......
......@@ -18,5 +18,19 @@
"</html>"
],
"description": "Simple HTML5 starting point"
},
"Region Start": {
"prefix": "#region",
"body": [
"<!-- #region -->"
],
"description": "Folding Region Start"
},
"Region End": {
"prefix": "#endregion",
"body": [
"<!-- #endregion -->"
],
"description": "Folding Region End"
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册