settings.json (2402B)
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 "editor.wrappingIndent": "same", 38 "editor.tabSize": 2, 39 "search.exclude": { 40 "dist": true, 41 "prebuilt": true, 42 "src/i18n/*.po": true, 43 "vendor": true 44 }, 45 "search.collapseResults": "auto", 46 "files.associations": { 47 "api-extractor.json": "jsonc" 48 }, 49 "typescript.preferences.importModuleSpecifierEnding": "js", 50 "typescript.preferences.importModuleSpecifier": "project-relative", 51 "javascript.preferences.importModuleSpecifier": "project-relative", 52 "javascript.preferences.importModuleSpecifierEnding": "js", 53 "makefile.configureOnOpen": false 54 }