浏览代码

align formatting options #3

Johannes Rieken 9 年之前
父节点
当前提交
f8f33bc833
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      src/languageFeatures.ts

+ 6 - 6
src/languageFeatures.ts

@@ -474,13 +474,13 @@ export abstract class FormatHelper extends Adapter {
 			IndentStyle: ts.IndentStyle.Smart,
 			IndentStyle: ts.IndentStyle.Smart,
 			NewLineCharacter: '\n',
 			NewLineCharacter: '\n',
 			InsertSpaceAfterCommaDelimiter: true,
 			InsertSpaceAfterCommaDelimiter: true,
-			InsertSpaceAfterFunctionKeywordForAnonymousFunctions: false,
-			InsertSpaceAfterKeywordsInControlFlowStatements: false,
-			InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis: true,
-			InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets: true,
-			InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces: true,
-			InsertSpaceAfterSemicolonInForStatements: false,
+			InsertSpaceAfterSemicolonInForStatements: true,
 			InsertSpaceBeforeAndAfterBinaryOperators: true,
 			InsertSpaceBeforeAndAfterBinaryOperators: true,
+			InsertSpaceAfterKeywordsInControlFlowStatements: true,
+			InsertSpaceAfterFunctionKeywordForAnonymousFunctions: true,
+			InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis: false,
+			InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets: false,
+			InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces: false,
 			PlaceOpenBraceOnNewLineForControlBlocks: false,
 			PlaceOpenBraceOnNewLineForControlBlocks: false,
 			PlaceOpenBraceOnNewLineForFunctions: false
 			PlaceOpenBraceOnNewLineForFunctions: false
 		};
 		};