mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
{
|
|
"comments": {
|
|
"blockComment": ["/*", "*/"],
|
|
"lineComment": "//"
|
|
},
|
|
"brackets": [
|
|
["{", "}"],
|
|
["[", "]"],
|
|
["(", ")"]
|
|
],
|
|
"autoClosingPairs": [
|
|
{ "open": "{", "close": "}", "notIn": ["string", "comment"] },
|
|
{ "open": "[", "close": "]", "notIn": ["string", "comment"] },
|
|
{ "open": "(", "close": ")", "notIn": ["string", "comment"] },
|
|
{ "open": "\"", "close": "\"", "notIn": ["string", "comment"] },
|
|
{ "open": "'", "close": "'", "notIn": ["string", "comment"] }
|
|
],
|
|
"surroundingPairs": [
|
|
["{", "}"],
|
|
["[", "]"],
|
|
["(", ")"],
|
|
["\"", "\""],
|
|
["'", "'"]
|
|
],
|
|
"folding": {
|
|
"markers": {
|
|
"start": "^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/",
|
|
"end": "^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/"
|
|
}
|
|
},
|
|
"indentationRules": {
|
|
"increaseIndentPattern": "(^.*\\{[^}]*$)",
|
|
"decreaseIndentPattern": "^\\s*\\}"
|
|
},
|
|
"wordPattern": "(#?-?\\d*\\.\\d\\w*%?)|(::?[\\w-]*(?=[^,{;]*[,{]))|(([@$#.!])?[\\w-?]+%?|[@#!$.])",
|
|
"onEnterRules": [
|
|
{
|
|
"beforeText": "^[\\s]*///.*$",
|
|
"action": {
|
|
"indent": "none",
|
|
"appendText": "/// "
|
|
}
|
|
}
|
|
]
|
|
}
|