2015-11-13 14:39:38 +01:00
|
|
|
{
|
2017-02-01 21:34:50 +01:00
|
|
|
"name": "typescript",
|
|
|
|
"description": "Extension to add Typescript capabilities to VSCode.",
|
|
|
|
"displayName": "TypeScript support for VSCode",
|
|
|
|
"version": "0.10.1",
|
|
|
|
"author": "Microsoft Corporation",
|
|
|
|
"license": "MIT",
|
|
|
|
"publisher": "vscode",
|
|
|
|
"aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217",
|
|
|
|
"engines": {
|
|
|
|
"vscode": "*"
|
|
|
|
},
|
2017-05-31 16:18:42 +02:00
|
|
|
"enableProposedApi": true,
|
2017-02-01 21:34:50 +01:00
|
|
|
"dependencies": {
|
|
|
|
"semver": "4.3.6",
|
2017-06-21 16:17:13 +02:00
|
|
|
"vscode-extension-telemetry": "0.0.7",
|
|
|
|
"vscode-nls": "2.0.1"
|
2017-02-01 21:34:50 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/node": "^7.0.4",
|
|
|
|
"@types/semver": "^5.3.30"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-extension:typescript ./tsconfig.json",
|
2017-05-25 11:27:32 +02:00
|
|
|
"update-grammar": "node ./build/update-grammars.js"
|
2017-02-01 21:34:50 +01:00
|
|
|
},
|
|
|
|
"activationEvents": [
|
|
|
|
"onLanguage:javascript",
|
|
|
|
"onLanguage:javascriptreact",
|
|
|
|
"onLanguage:typescript",
|
|
|
|
"onLanguage:typescriptreact",
|
|
|
|
"onLanguage:jsx-tags",
|
|
|
|
"onCommand:typescript.reloadProjects",
|
|
|
|
"onCommand:javascript.reloadProjects",
|
2017-02-13 21:58:40 +01:00
|
|
|
"onCommand:typescript.selectTypeScriptVersion",
|
|
|
|
"onCommand:javascript.goToProjectConfig",
|
2017-02-13 23:39:39 +01:00
|
|
|
"onCommand:typescript.goToProjectConfig",
|
2017-05-26 00:18:05 +02:00
|
|
|
"onCommand:typescript.openTsServerLog",
|
2017-05-29 14:50:16 +02:00
|
|
|
"onCommand:workbench.action.tasks.runTask"
|
2017-02-01 21:34:50 +01:00
|
|
|
],
|
|
|
|
"main": "./out/typescriptMain",
|
|
|
|
"contributes": {
|
|
|
|
"languages": [
|
|
|
|
{
|
|
|
|
"id": "typescript",
|
|
|
|
"aliases": [
|
|
|
|
"TypeScript",
|
|
|
|
"ts",
|
|
|
|
"typescript"
|
|
|
|
],
|
|
|
|
"extensions": [
|
|
|
|
".ts"
|
|
|
|
],
|
|
|
|
"configuration": "./language-configuration.json"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "typescriptreact",
|
|
|
|
"aliases": [
|
|
|
|
"TypeScript React",
|
|
|
|
"tsx"
|
|
|
|
],
|
|
|
|
"extensions": [
|
|
|
|
".tsx"
|
|
|
|
],
|
|
|
|
"configuration": "./language-configuration.json"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"grammars": [
|
|
|
|
{
|
|
|
|
"language": "typescript",
|
|
|
|
"scopeName": "source.ts",
|
|
|
|
"path": "./syntaxes/TypeScript.tmLanguage.json"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"language": "typescriptreact",
|
|
|
|
"scopeName": "source.tsx",
|
|
|
|
"path": "./syntaxes/TypeScriptReact.tmLanguage.json",
|
|
|
|
"embeddedLanguages": {
|
|
|
|
"meta.tag.tsx": "jsx-tags",
|
|
|
|
"meta.tag.without-attributes.tsx": "jsx-tags"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"configuration": {
|
|
|
|
"type": "object",
|
|
|
|
"title": "%configuration.typescript%",
|
|
|
|
"order": 20,
|
|
|
|
"properties": {
|
|
|
|
"typescript.tsdk": {
|
|
|
|
"type": [
|
|
|
|
"string",
|
|
|
|
"null"
|
|
|
|
],
|
|
|
|
"default": null,
|
|
|
|
"description": "%typescript.tsdk.desc%"
|
|
|
|
},
|
|
|
|
"typescript.disableAutomaticTypeAcquisition": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "%typescript.disableAutomaticTypeAcquisition%"
|
|
|
|
},
|
|
|
|
"typescript.check.tscVersion": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%typescript.check.tscVersion%"
|
|
|
|
},
|
2017-05-31 01:36:03 +02:00
|
|
|
"typescript.npm": {
|
|
|
|
"type": [
|
|
|
|
"string",
|
|
|
|
"null"
|
|
|
|
],
|
|
|
|
"default": null,
|
2017-05-31 01:51:15 +02:00
|
|
|
"description": "%typescript.npm%",
|
|
|
|
"isExecutable": true
|
2017-05-31 01:36:03 +02:00
|
|
|
},
|
2017-04-21 23:19:25 +02:00
|
|
|
"typescript.check.npmIsInstalled": {
|
2017-04-25 11:41:13 +02:00
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%typescript.check.npmIsInstalled%"
|
|
|
|
},
|
2017-05-13 05:24:40 +02:00
|
|
|
"javascript.referencesCodeLens.enabled": {
|
2017-02-01 21:34:50 +01:00
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
2017-05-13 05:24:40 +02:00
|
|
|
"description": "%javascript.referencesCodeLens.enabled%"
|
|
|
|
},
|
|
|
|
"typescript.referencesCodeLens.enabled": {
|
|
|
|
"type": "boolean",
|
2017-05-31 08:37:00 +02:00
|
|
|
"default": false,
|
2017-02-01 21:34:50 +01:00
|
|
|
"description": "%typescript.referencesCodeLens.enabled%"
|
|
|
|
},
|
2017-03-01 02:12:16 +01:00
|
|
|
"typescript.implementationsCodeLens.enabled": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "%typescript.implementationsCodeLens.enabled%"
|
|
|
|
},
|
2017-03-21 01:16:01 +01:00
|
|
|
"typescript.tsserver.log": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"off",
|
|
|
|
"terse",
|
|
|
|
"normal",
|
|
|
|
"verbose"
|
|
|
|
],
|
|
|
|
"default": "off",
|
|
|
|
"description": "%typescript.tsserver.log%"
|
|
|
|
},
|
2017-02-01 21:34:50 +01:00
|
|
|
"typescript.tsserver.trace": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"off",
|
|
|
|
"messages",
|
|
|
|
"verbose"
|
|
|
|
],
|
|
|
|
"default": "off",
|
|
|
|
"description": "%typescript.tsserver.trace%"
|
|
|
|
},
|
|
|
|
"typescript.useCodeSnippetsOnMethodSuggest": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "%typescript.useCodeSnippetsOnMethodSuggest.dec%"
|
|
|
|
},
|
|
|
|
"typescript.validate.enable": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%typescript.validate.enable%"
|
|
|
|
},
|
|
|
|
"typescript.format.enable": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%typescript.format.enable%"
|
|
|
|
},
|
|
|
|
"typescript.format.insertSpaceAfterCommaDelimiter": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%format.insertSpaceAfterCommaDelimiter%"
|
|
|
|
},
|
2017-06-07 23:48:57 +02:00
|
|
|
"typescript.format.insertSpaceAfterConstructor": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "%format.insertSpaceAfterConstructor%"
|
|
|
|
},
|
2017-02-01 21:34:50 +01:00
|
|
|
"typescript.format.insertSpaceAfterSemicolonInForStatements": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%format.insertSpaceAfterSemicolonInForStatements%"
|
|
|
|
},
|
|
|
|
"typescript.format.insertSpaceBeforeAndAfterBinaryOperators": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%format.insertSpaceBeforeAndAfterBinaryOperators%"
|
|
|
|
},
|
|
|
|
"typescript.format.insertSpaceAfterKeywordsInControlFlowStatements": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%format.insertSpaceAfterKeywordsInControlFlowStatements%"
|
|
|
|
},
|
|
|
|
"typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%format.insertSpaceAfterFunctionKeywordForAnonymousFunctions%"
|
|
|
|
},
|
2017-03-02 21:49:22 +01:00
|
|
|
"typescript.format.insertSpaceBeforeFunctionParenthesis": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "%format.insertSpaceBeforeFunctionParenthesis%"
|
|
|
|
},
|
2017-02-01 21:34:50 +01:00
|
|
|
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis%"
|
|
|
|
},
|
|
|
|
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets%"
|
|
|
|
},
|
2017-04-14 01:35:40 +02:00
|
|
|
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": {
|
|
|
|
"type": "boolean",
|
2017-04-14 01:44:25 +02:00
|
|
|
"default": true,
|
2017-04-14 01:35:40 +02:00
|
|
|
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces%"
|
|
|
|
},
|
2017-02-01 21:34:50 +01:00
|
|
|
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces%"
|
|
|
|
},
|
|
|
|
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces%"
|
|
|
|
},
|
|
|
|
"typescript.format.placeOpenBraceOnNewLineForFunctions": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "%format.placeOpenBraceOnNewLineForFunctions%"
|
|
|
|
},
|
|
|
|
"typescript.format.placeOpenBraceOnNewLineForControlBlocks": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "%format.placeOpenBraceOnNewLineForControlBlocks%"
|
|
|
|
},
|
|
|
|
"javascript.validate.enable": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%javascript.validate.enable%"
|
|
|
|
},
|
|
|
|
"javascript.format.enable": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%javascript.format.enable%"
|
|
|
|
},
|
|
|
|
"javascript.format.insertSpaceAfterCommaDelimiter": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%format.insertSpaceAfterCommaDelimiter%"
|
|
|
|
},
|
2017-06-07 23:48:57 +02:00
|
|
|
"javascript.format.insertSpaceAfterConstructor": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "%format.insertSpaceAfterConstructor%"
|
|
|
|
},
|
2017-02-01 21:34:50 +01:00
|
|
|
"javascript.format.insertSpaceAfterSemicolonInForStatements": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%format.insertSpaceAfterSemicolonInForStatements%"
|
|
|
|
},
|
|
|
|
"javascript.format.insertSpaceBeforeAndAfterBinaryOperators": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%format.insertSpaceBeforeAndAfterBinaryOperators%"
|
|
|
|
},
|
|
|
|
"javascript.format.insertSpaceAfterKeywordsInControlFlowStatements": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%format.insertSpaceAfterKeywordsInControlFlowStatements%"
|
|
|
|
},
|
|
|
|
"javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%format.insertSpaceAfterFunctionKeywordForAnonymousFunctions%"
|
|
|
|
},
|
2017-03-02 21:49:22 +01:00
|
|
|
"javascript.format.insertSpaceBeforeFunctionParenthesis": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "%format.insertSpaceBeforeFunctionParenthesis%"
|
|
|
|
},
|
2017-02-01 21:34:50 +01:00
|
|
|
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis%"
|
|
|
|
},
|
|
|
|
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets%"
|
|
|
|
},
|
2017-04-14 01:35:40 +02:00
|
|
|
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": {
|
|
|
|
"type": "boolean",
|
2017-04-14 01:44:25 +02:00
|
|
|
"default": true,
|
2017-04-14 01:35:40 +02:00
|
|
|
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces%"
|
|
|
|
},
|
2017-02-01 21:34:50 +01:00
|
|
|
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces%"
|
|
|
|
},
|
|
|
|
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces%"
|
|
|
|
},
|
|
|
|
"javascript.format.placeOpenBraceOnNewLineForFunctions": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "%format.placeOpenBraceOnNewLineForFunctions%"
|
|
|
|
},
|
|
|
|
"javascript.format.placeOpenBraceOnNewLineForControlBlocks": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "%format.placeOpenBraceOnNewLineForControlBlocks%"
|
2017-04-03 19:35:29 +02:00
|
|
|
},
|
|
|
|
"jsDocCompletion.enabled": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%jsDocCompletion.enabled%"
|
2017-04-21 22:57:23 +02:00
|
|
|
},
|
|
|
|
"javascript.implicitProjectConfig.checkJs": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "%javascript.implicitProjectConfig.checkJs%"
|
2017-05-17 03:33:22 +02:00
|
|
|
},
|
|
|
|
"javascript.nameSuggestions": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%javascript.nameSuggestions%"
|
2017-05-26 23:24:15 +02:00
|
|
|
},
|
|
|
|
"typescript.tsc.autoDetect": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "on",
|
|
|
|
"enum": [
|
|
|
|
"on",
|
|
|
|
"off"
|
|
|
|
],
|
|
|
|
"description": "%typescript.tsc.autoDetect%"
|
2017-02-01 21:34:50 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"command": "typescript.reloadProjects",
|
2017-02-13 21:58:40 +01:00
|
|
|
"title": "%typescript.reloadProjects.title%",
|
|
|
|
"category": "TypeScript"
|
2017-02-01 21:34:50 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "javascript.reloadProjects",
|
2017-02-13 21:58:40 +01:00
|
|
|
"title": "%javascript.reloadProjects.title%",
|
|
|
|
"category": "JavaScript"
|
2017-02-01 21:34:50 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "typescript.selectTypeScriptVersion",
|
2017-02-13 21:58:40 +01:00
|
|
|
"title": "%typescript.selectTypeScriptVersion.title%",
|
|
|
|
"category": "TypeScript"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "typescript.goToProjectConfig",
|
|
|
|
"title": "%typescript.goToProjectConfig.title%",
|
|
|
|
"category": "TypeScript"
|
|
|
|
},
|
2017-02-15 23:04:36 +01:00
|
|
|
{
|
2017-02-13 21:58:40 +01:00
|
|
|
"command": "javascript.goToProjectConfig",
|
|
|
|
"title": "%javascript.goToProjectConfig.title%",
|
|
|
|
"category": "JavaScript"
|
2017-03-21 01:16:01 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "typescript.openTsServerLog",
|
|
|
|
"title": "%typescript.openTsServerLog.title%",
|
|
|
|
"category": "TypeScript"
|
2017-05-25 00:07:43 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "typescript.restartTsServer",
|
|
|
|
"title": "%typescript.restartTsServer%",
|
|
|
|
"category": "TypeScript"
|
2017-02-01 21:34:50 +01:00
|
|
|
}
|
|
|
|
],
|
2017-02-28 03:43:32 +01:00
|
|
|
"menus": {
|
|
|
|
"commandPalette": [
|
|
|
|
{
|
|
|
|
"command": "typescript.reloadProjects",
|
|
|
|
"when": "editorLangId == 'typescript'"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "typescript.reloadProjects",
|
|
|
|
"when": "editorLangId == typescriptreact"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "javascript.reloadProjects",
|
|
|
|
"when": "editorLangId == 'javascript'"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "javascript.reloadProjects",
|
|
|
|
"when": "editorLangId == javascriptreact"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "typescript.goToProjectConfig",
|
|
|
|
"when": "editorLangId == 'typescript'"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "typescript.goToProjectConfig",
|
|
|
|
"when": "editorLangId == typescriptreact"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "javascript.goToProjectConfig",
|
|
|
|
"when": "editorLangId == 'javascript'"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "javascript.goToProjectConfig",
|
|
|
|
"when": "editorLangId == javascriptreact"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2017-02-01 21:34:50 +01:00
|
|
|
"breakpoints": [
|
|
|
|
{
|
|
|
|
"language": "typescript"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"language": "typescriptreact"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"snippets": [
|
|
|
|
{
|
|
|
|
"language": "typescript",
|
|
|
|
"path": "./snippets/typescript.json"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"language": "typescriptreact",
|
|
|
|
"path": "./snippets/typescriptreact.json"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"jsonValidation": [
|
|
|
|
{
|
|
|
|
"fileMatch": "tsconfig.json",
|
|
|
|
"url": "http://json.schemastore.org/tsconfig"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fileMatch": "tsconfig.json",
|
|
|
|
"url": "./schemas/tsconfig.schema.json"
|
2017-04-12 23:46:08 +02:00
|
|
|
},
|
2017-04-25 11:41:13 +02:00
|
|
|
{
|
2017-04-12 23:46:08 +02:00
|
|
|
"fileMatch": "tsconfig.*.json",
|
|
|
|
"url": "http://json.schemastore.org/tsconfig"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fileMatch": "tsconfig.*.json",
|
|
|
|
"url": "./schemas/tsconfig.schema.json"
|
2017-02-01 21:34:50 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fileMatch": "typings.json",
|
|
|
|
"url": "http://json.schemastore.org/typings"
|
|
|
|
}
|
2017-03-14 12:06:58 +01:00
|
|
|
],
|
2017-06-22 17:03:52 +02:00
|
|
|
"taskTypes": [
|
|
|
|
{
|
|
|
|
"type": "typescript",
|
|
|
|
"required": ["tsconfig"],
|
|
|
|
"properties": {
|
|
|
|
"tsconfig": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "The tsconfig file that defines the TS build"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2017-03-14 12:06:58 +01:00
|
|
|
"problemPatterns": [
|
|
|
|
{
|
|
|
|
"name": "tsc",
|
|
|
|
"regexp": "^([^\\s].*)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\):\\s+(error|warning|info)\\s+(TS\\d+)\\s*:\\s*(.*)$",
|
|
|
|
"file": 1,
|
|
|
|
"location": 2,
|
|
|
|
"severity": 3,
|
|
|
|
"code": 4,
|
|
|
|
"message": 5
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"problemMatchers": [
|
|
|
|
{
|
|
|
|
"name": "tsc",
|
|
|
|
"owner": "typescript",
|
|
|
|
"applyTo": "closedDocuments",
|
2017-04-25 11:41:13 +02:00
|
|
|
"fileLocation": [
|
|
|
|
"relative",
|
|
|
|
"${cwd}"
|
|
|
|
],
|
|
|
|
"pattern": "$tsc"
|
2017-03-14 12:06:58 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "tsc-watch",
|
|
|
|
"owner": "typescript",
|
|
|
|
"applyTo": "closedDocuments",
|
2017-04-25 11:41:13 +02:00
|
|
|
"fileLocation": [
|
|
|
|
"relative",
|
|
|
|
"${cwd}"
|
|
|
|
],
|
2017-03-14 12:06:58 +01:00
|
|
|
"pattern": "$tsc",
|
2017-05-31 16:41:58 +02:00
|
|
|
"background": {
|
2017-03-14 12:06:58 +01:00
|
|
|
"activeOnStart": true,
|
|
|
|
"beginsPattern": {
|
|
|
|
"regexp": "^\\s*(?:message TS6032:|\\d{1,2}:\\d{1,2}:\\d{1,2}(?: AM| PM)? -) File change detected\\. Starting incremental compilation\\.\\.\\."
|
|
|
|
},
|
|
|
|
"endsPattern": {
|
|
|
|
"regexp": "^\\s*(?:message TS6042:|\\d{1,2}:\\d{1,2}:\\d{1,2}(?: AM| PM)? -) Compilation complete\\. Watching for file changes\\."
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-02-01 21:34:50 +01:00
|
|
|
]
|
|
|
|
}
|
2017-05-17 03:33:22 +02:00
|
|
|
}
|