Ver Fonte

align formatting options #3

Johannes Rieken há 9 anos atrás
pai
commit
f8f33bc833
1 ficheiros alterados com 6 adições e 6 exclusões
  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
 		};