소스 검색

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,
 			NewLineCharacter: '\n',
 			InsertSpaceAfterCommaDelimiter: true,
-			InsertSpaceAfterFunctionKeywordForAnonymousFunctions: false,
-			InsertSpaceAfterKeywordsInControlFlowStatements: false,
-			InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis: true,
-			InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets: true,
-			InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces: true,
-			InsertSpaceAfterSemicolonInForStatements: false,
+			InsertSpaceAfterSemicolonInForStatements: true,
 			InsertSpaceBeforeAndAfterBinaryOperators: true,
+			InsertSpaceAfterKeywordsInControlFlowStatements: true,
+			InsertSpaceAfterFunctionKeywordForAnonymousFunctions: true,
+			InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis: false,
+			InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets: false,
+			InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces: false,
 			PlaceOpenBraceOnNewLineForControlBlocks: false,
 			PlaceOpenBraceOnNewLineForFunctions: false
 		};