Add insertSpaceAfterConstructor Formatting Option for TS and JS

Fixes #28206
This commit is contained in:
Matt Bierner
2017-06-07 14:48:57 -07:00
parent 0425eff0f0
commit d173d8ecc1
3 changed files with 31 additions and 17 deletions

View File

@@ -12,6 +12,7 @@
"typescript.format.enable": "Enable/disable default TypeScript formatter.",
"javascript.format.enable": "Enable/disable default JavaScript formatter.",
"format.insertSpaceAfterCommaDelimiter": "Defines space handling after a comma delimiter.",
"format.insertSpaceAfterConstructor": "Defines space handling after the constructor keyword. Requires TypeScript >= 2.3.0.",
"format.insertSpaceAfterSemicolonInForStatements": " Defines space handling after a semicolon in a for statement.",
"format.insertSpaceBeforeAndAfterBinaryOperators": "Defines space handling after a binary operator.",
"format.insertSpaceAfterKeywordsInControlFlowStatements": "Defines space handling after keywords in a control flow statement.",