{ "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": "*" }, "dependencies": { "semver": "4.3.6", "vscode-extension-telemetry": "^0.0.5", "vscode-nls": "^2.0.1", "typescript": "2.1.5-insiders.20161229" }, "devDependencies": { "@types/semver": "^5.3.30" }, "scripts": { "postinstall": "node ./bin/postinstall", "vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-extension:typescript ./tsconfig.json", "update-grammars": "node ./build/update-grammars.js" }, "activationEvents": [ "onLanguage:javascript", "onLanguage:javascriptreact", "onLanguage:typescript", "onLanguage:typescriptreact", "onCommand:typescript.reloadProjects", "onCommand:javascript.reloadProjects" ], "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.workspaceVersion": { "type": "boolean", "default": true, "description": "%typescript.check.workspaceVersion%" }, "typescript.check.tscVersion": { "type": "boolean", "default": true, "description": "%typescript.check.tscVersion%" }, "typescript.referencesCodeLens.enabled": { "type": "boolean", "default": false, "description": "%typescript.referencesCodeLens.enabled%" }, "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%" }, "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%" }, "typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": { "type": "boolean", "default": false, "description": "%format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis%" }, "typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": { "type": "boolean", "default": false, "description": "%format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets%" }, "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%" }, "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%" }, "javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": { "type": "boolean", "default": false, "description": "%format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis%" }, "javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": { "type": "boolean", "default": false, "description": "%format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets%" }, "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%" } } }, "keybindings": { "key": ".", "command": "^acceptSelectedSuggestion", "when": "editorTextFocus && suggestWidgetVisible && editorLangId == 'typescript' && suggestionSupportsAcceptOnKey" }, "commands": [ { "command": "typescript.reloadProjects", "title": "%typescript.reloadProjects.title%" }, { "command": "javascript.reloadProjects", "title": "%javascript.reloadProjects.title%" } ], "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" }, { "fileMatch": "typings.json", "url": "http://json.schemastore.org/typings" } ] } }