Explorar o código

align formatting options #3

Johannes Rieken %!s(int64=9) %!d(string=hai) anos
pai
achega
f8f33bc833
Modificáronse 1 ficheiros con 6 adicións e 6 borrados
  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
 		};