diff options
Diffstat (limited to '.vscode/settings.json')
-rw-r--r-- | .vscode/settings.json | 104 |
1 files changed, 55 insertions, 49 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json index d8e616936..97596d26c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,53 +1,59 @@ // Place your settings in this file to overwrite default and user settings. { - // Use latest language servicesu - "typescript.tsdk": "./node_modules/typescript/lib", - // Defines space handling after a comma delimiter - "typescript.format.insertSpaceAfterCommaDelimiter": true, - // Defines space handling after a semicolon in a for statement - "typescript.format.insertSpaceAfterSemicolonInForStatements": true, - // Defines space handling after a binary operator - "typescript.format.insertSpaceBeforeAndAfterBinaryOperators": true, - // Defines space handling after keywords in control flow statement - "typescript.format.insertSpaceAfterKeywordsInControlFlowStatements": true, - // Defines space handling after function keyword for anonymous functions - "typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": true, - // Defines space handling after opening and before closing non empty parenthesis - "typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false, - // Defines space handling after opening and before closing non empty brackets - "typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false, - // Defines whether an open brace is put onto a new line for functions or not - "typescript.format.placeOpenBraceOnNewLineForFunctions": false, - // Defines whether an open brace is put onto a new line for control blocks or not - "typescript.format.placeOpenBraceOnNewLineForControlBlocks": false, - // Files hidden in the explorer - "files.exclude": { - // include the defaults from VS Code - "**/.git": true, - "**/.DS_Store": true, - // exclude .js and .js.map files, when in a TypeScript project - "**/*.js": { - "when": "$(basename).ts" - }, - "**/*?.js": { - "when": "$(basename).tsx" - }, - "**/*.js.map": true + // Use latest language servicesu + "typescript.tsdk": "./node_modules/typescript/lib", + // Defines space handling after a comma delimiter + "typescript.format.insertSpaceAfterCommaDelimiter": true, + // Defines space handling after a semicolon in a for statement + "typescript.format.insertSpaceAfterSemicolonInForStatements": true, + // Defines space handling after a binary operator + "typescript.format.insertSpaceBeforeAndAfterBinaryOperators": true, + // Defines space handling after keywords in control flow statement + "typescript.format.insertSpaceAfterKeywordsInControlFlowStatements": true, + // Defines space handling after function keyword for anonymous functions + "typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": true, + // Defines space handling after opening and before closing non empty parenthesis + "typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false, + // Defines space handling after opening and before closing non empty brackets + "typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false, + // Defines whether an open brace is put onto a new line for functions or not + "typescript.format.placeOpenBraceOnNewLineForFunctions": false, + // Defines whether an open brace is put onto a new line for control blocks or not + "typescript.format.placeOpenBraceOnNewLineForControlBlocks": false, + "typescript.preferences.autoImportFileExcludePatterns": [ + "index.js", + "index.*.js", + "index.ts", + "index.*.ts" + ], + // Files hidden in the explorer + "files.exclude": { + // include the defaults from VS Code + "**/.git": true, + "**/.DS_Store": true, + // exclude .js and .js.map files, when in a TypeScript project + "**/*.js": { + "when": "$(basename).ts" }, - "editor.wrappingIndent": "same", - "editor.tabSize": 2, - "search.exclude": { - "dist": true, - "prebuilt": true, - "src/i18n/*.po": true, - "vendor": true + "**/*?.js": { + "when": "$(basename).tsx" }, - "search.collapseResults": "auto", - "files.associations": { - "api-extractor.json": "jsonc" - }, - "typescript.preferences.importModuleSpecifierEnding": "js", - "typescript.preferences.importModuleSpecifier": "project-relative", - "javascript.preferences.importModuleSpecifier": "project-relative", - "javascript.preferences.importModuleSpecifierEnding": "js" -}
\ No newline at end of file + "**/*.js.map": true + }, + "editor.wrappingIndent": "same", + "editor.tabSize": 2, + "search.exclude": { + "dist": true, + "prebuilt": true, + "src/i18n/*.po": true, + "vendor": true + }, + "search.collapseResults": "auto", + "files.associations": { + "api-extractor.json": "jsonc" + }, + "typescript.preferences.importModuleSpecifierEnding": "js", + "typescript.preferences.importModuleSpecifier": "project-relative", + "javascript.preferences.importModuleSpecifier": "project-relative", + "javascript.preferences.importModuleSpecifierEnding": "js" +} |