mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 10:19:02 +00:00
json indent pattern: handle escape characters (#152475)
This commit is contained in:
committed by
GitHub
parent
a3f6ec95e8
commit
083cf01e10
@@ -16,7 +16,7 @@
|
|||||||
{ "open": "`", "close": "`", "notIn": ["string", "comment"] }
|
{ "open": "`", "close": "`", "notIn": ["string", "comment"] }
|
||||||
],
|
],
|
||||||
"indentationRules": {
|
"indentationRules": {
|
||||||
"increaseIndentPattern": "({+(?=([^\"]*\"[^\"]*\")*[^\"}]*$))|(\\[+(?=([^\"]*\"[^\"]*\")*[^\"\\]]*$))",
|
"increaseIndentPattern": "({+(?=((\\\\.|[^\"\\\\])*\"(\\\\.|[^\"\\\\])*\")*[^\"}]*)$)|(\\[+(?=((\\\\.|[^\"\\\\])*\"(\\\\.|[^\"\\\\])*\")*[^\"\\]]*)$)",
|
||||||
"decreaseIndentPattern": "^\\s*[}\\]],?\\s*$"
|
"decreaseIndentPattern": "^\\s*[}\\]],?\\s*$"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user