mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
Improve php language config
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
{ "open": "\"", "close": "\"", "notIn": ["string"] }
|
||||
],
|
||||
"indentationRules": {
|
||||
"increaseIndentPattern": "({(?!.+}).*|\\(|\\[|((else)?if|else|for(each)?|while|switch).*:)\\s*(/[/*].*)?$",
|
||||
"decreaseIndentPattern": "^(.*\\*/)?\\s*(}|(\\)+([;,]|\\s*{))|(\\]\\)*([;,]|$))|else:|((end(if|for(each)?|while|switch));))"
|
||||
"increaseIndentPattern": "({(?!.+}).*|\\(|\\|((else(\s)?)?if|else|for(each)?|while|switch).*:)\\s*(\/(\/*).*)?)?$",
|
||||
"decreaseIndentPattern": "^(.*\\*\/)?\\s*(}|(\\)+([;,]|\\s*{))|(\\]\\)*([;,]|$)|else:|((end(if|for(each)?|while|switch));)"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user