From 55bd2280c8a69261f01cd06ae88e3e7ae32cf58b Mon Sep 17 00:00:00 2001 From: ng0 Date: Wed, 9 Oct 2019 17:30:49 +0000 Subject: check in code independent build system code. --- conf/.vscode/settings.json | 40 ++++++++++++++++++++++++++++++++++++++++ conf/.vscode/tasks.json | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 conf/.vscode/settings.json create mode 100644 conf/.vscode/tasks.json (limited to 'conf/.vscode') diff --git a/conf/.vscode/settings.json b/conf/.vscode/settings.json new file mode 100644 index 0000000..6482c5d --- /dev/null +++ b/conf/.vscode/settings.json @@ -0,0 +1,40 @@ +// 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 + }, + "tslint.enable": true, + "editor.wrappingIndent": "same", + "editor.tabSize": 2 +} \ No newline at end of file diff --git a/conf/.vscode/tasks.json b/conf/.vscode/tasks.json new file mode 100644 index 0000000..a141599 --- /dev/null +++ b/conf/.vscode/tasks.json @@ -0,0 +1,44 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "type": "typescript", + "tsconfig": "tsconfig.json", + "option": "watch", + "problemMatcher": [ + "$tsc-watch" + ], + "group": "build", + "isBackground": true, + "promptOnClose": false + }, + { + "type": "typescript", + "tsconfig": "tsconfig.json", + "problemMatcher": [ + "$tsc" + ], + "group": "build" + }, + { + "label": "tslint", + "type": "shell", + "command": "make lint", + "problemMatcher": { + "owner": "tslint", + "applyTo": "allDocuments", + "fileLocation": "absolute", + "severity": "warning", + "pattern": "$tslint5" + }, + "group": "build" + }, + { + "label": "My Task", + "type": "shell", + "command": "echo Hello" + } + ] +} \ No newline at end of file -- cgit v1.2.3