mirror of
https://github.com/coder/code-server.git
synced 2024-12-05 07:13:06 +08:00
35 lines
842 B
JSON
35 lines
842 B
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": [
|
||
|
["{", "}"],
|
||
|
["[", "]"],
|
||
|
["(", ")"],
|
||
|
["\"", "\""],
|
||
|
["'", "'"]
|
||
|
],
|
||
|
"indentationRules": {
|
||
|
"increaseIndentPattern": "(^.*\\{[^}]*$)",
|
||
|
"decreaseIndentPattern": "^\\s*\\}"
|
||
|
},
|
||
|
"folding": {
|
||
|
"markers": {
|
||
|
"start": "^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/",
|
||
|
"end": "^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/"
|
||
|
}
|
||
|
}
|
||
|
}
|