mirror of
https://github.com/danog/code-server.git
synced 2024-12-15 18:57:11 +01: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.*\\*\\/"
|
||
|
}
|
||
|
}
|
||
|
}
|