settings.json (2011B)
1 // Place your settings in this file to overwrite default and user settings. 2 { 3 // Use latest language servicesu 4 "typescript.tsdk": "./node_modules/typescript/lib", 5 // Defines space handling after a comma delimiter 6 "typescript.format.insertSpaceAfterCommaDelimiter": true, 7 // Defines space handling after a semicolon in a for statement 8 "typescript.format.insertSpaceAfterSemicolonInForStatements": true, 9 // Defines space handling after a binary operator 10 "typescript.format.insertSpaceBeforeAndAfterBinaryOperators": true, 11 // Defines space handling after keywords in control flow statement 12 "typescript.format.insertSpaceAfterKeywordsInControlFlowStatements": true, 13 // Defines space handling after function keyword for anonymous functions 14 "typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": true, 15 // Defines space handling after opening and before closing non empty parenthesis 16 "typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false, 17 // Defines space handling after opening and before closing non empty brackets 18 "typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false, 19 // Defines whether an open brace is put onto a new line for functions or not 20 "typescript.format.placeOpenBraceOnNewLineForFunctions": false, 21 // Defines whether an open brace is put onto a new line for control blocks or not 22 "typescript.format.placeOpenBraceOnNewLineForControlBlocks": false, 23 // Files hidden in the explorer 24 "files.exclude": { 25 // include the defaults from VS Code 26 "**/.git": true, 27 "**/.DS_Store": true, 28 // exclude .js and .js.map files, when in a TypeScript project 29 "**/*.js": { 30 "when": "$(basename).ts" 31 }, 32 "**/*?.js": { 33 "when": "$(basename).tsx" 34 }, 35 "**/*.js.map": true 36 }, 37 "tslint.enable": true, 38 "editor.wrappingIndent": "same", 39 "editor.tabSize": 2 40 }