2018-09-07 21:40:51 +09:00
{
"name" : "coc-tsserver" ,
2020-03-23 12:36:37 +09:00
"version" : "1.4.12" ,
2018-11-24 01:13:06 +09:00
"description" : "tsserver extension for coc.nvim" ,
2018-09-07 21:40:51 +09:00
"main" : "lib/index.js" ,
"publisher" : "chemzqm" ,
"engines" : {
2019-06-10 03:35:26 +09:00
"coc" : "^0.0.69"
2018-09-07 21:40:51 +09:00
} ,
2019-06-27 11:43:32 +09:00
"repository" : {
"type" : "git" ,
"url" : "https://github.com/neoclide/coc-tsserver.git"
} ,
2018-11-24 01:13:06 +09:00
"keywords" : [
"coc.nvim" ,
"tsserver" ,
"typescript"
] ,
2018-09-07 21:40:51 +09:00
"scripts" : {
"clean" : "rimraf lib" ,
2019-08-18 00:37:04 +09:00
"build" : "webpack" ,
2019-04-28 15:47:20 +09:00
"prepare" : "npx npm-run-all clean build"
2018-09-07 21:40:51 +09:00
} ,
2018-09-08 19:32:16 +09:00
"activationEvents" : [
"onLanguage:javascript" ,
"onLanguage:javascriptreact" ,
2018-09-18 20:44:50 +09:00
"onLanguage:javascript.jsx" ,
2018-09-08 19:32:16 +09:00
"onLanguage:typescript" ,
2018-09-18 20:44:50 +09:00
"onLanguage:typescript.tsx" ,
"onLanguage:typescript.jsx" ,
2018-09-08 19:32:16 +09:00
"onLanguage:typescriptreact" ,
"onLanguage:jsx-tags" ,
"onCommand:typescript.reloadProjects" ,
"onCommand:javascript.reloadProjects" ,
"onCommand:javascript.goToProjectConfig" ,
"onCommand:typescript.goToProjectConfig" ,
"onCommand:typescript.openTsServerLog" ,
2018-09-22 00:07:38 +09:00
"onCommand:tsserver.watchBuild"
2018-09-08 19:32:16 +09:00
] ,
2018-09-07 21:40:51 +09:00
"contributes" : {
2019-04-04 19:06:38 +09:00
"rootPatterns" : [
{
"filetype" : "javascript" ,
"patterns" : [
"package.json" ,
"jsconfig.json"
]
} ,
{
"filetype" : "javascriptreact" ,
"patterns" : [
"package.json" ,
"jsconfig.json"
]
} ,
{
"filetype" : "typescript" ,
"patterns" : [
"package.json" ,
"tsconfig.json"
]
} ,
{
"filetype" : "typescriptreact" ,
"patterns" : [
"package.json" ,
"tsconfig.json"
]
}
] ,
2018-09-07 21:40:51 +09:00
"commands" : [
{
"title" : "Reload current project" ,
"category" : "TSServer" ,
"command" : "tsserver.reloadProjects"
} ,
{
"title" : "Open log file of tsserver." ,
"category" : "TSServer" ,
"command" : "tsserver.openTsServerLog"
} ,
{
"title" : "Open project config file." ,
"category" : "TSServer" ,
"command" : "tsserver.goToProjectConfig"
} ,
2018-11-07 20:54:23 +09:00
{
"title" : "Restart tsserver" ,
"category" : "TSServer" ,
"command" : "tsserver.restart"
} ,
2018-09-07 21:40:51 +09:00
{
2019-04-19 20:07:15 +09:00
"title" : "Run `tsc --watch` for current project by use vim's job feature." ,
2018-09-07 21:40:51 +09:00
"category" : "TSServer" ,
"command" : "tsserver.watchBuild"
2019-01-22 17:29:30 +09:00
} ,
{
"title" : "Fix autofixable problems of current document." ,
"category" : "TSServer" ,
"command" : "tsserver.executeAutofix"
2018-09-07 21:40:51 +09:00
}
] ,
"configuration" : {
"type" : "object" ,
"title" : "Tsserver" ,
"properties" : {
"tsserver.enable" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable tsserver extension"
} ,
"tsserver.locale" : {
"type" : "string" ,
"default" : "" ,
"description" : "Locale of tsserver"
} ,
"tsserver.typingsCacheLocation" : {
"type" : "string" ,
"default" : "" ,
"description" : "Folder path for cache typings"
} ,
"tsserver.formatOnType" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Run format on type special characters."
} ,
"tsserver.enableJavascript" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Use tsserver for javascript files"
} ,
2019-06-27 11:43:32 +09:00
"tsserver.ignoreLocalTsserver" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Always use tsserver module from tsserver.tsdk or tsserver extension."
} ,
2020-03-23 12:31:53 +09:00
"tsserver.maxTsServerMemory" : {
"type" : "number" ,
"default" : 0 ,
"description" : "Set the maximum amount of memory to allocate to the TypeScript server process"
} ,
2018-09-07 21:40:51 +09:00
"tsserver.tsdk" : {
"type" : "string" ,
"default" : "" ,
2018-10-14 11:06:11 +09:00
"description" : "Directory contains tsserver.js,"
2018-09-07 21:40:51 +09:00
} ,
"tsserver.npm" : {
"type" : "string" ,
"default" : "" ,
"description" : "Executable path of npm for download typings"
} ,
"tsserver.log" : {
"type" : "string" ,
"default" : "off" ,
"enum" : [
"normal" ,
"terse" ,
"verbose" ,
"off"
] ,
"description" : "Log level of tsserver"
} ,
"tsserver.trace.server" : {
"type" : "string" ,
"default" : "off" ,
"enum" : [
"off" ,
"messages" ,
"verbose"
] ,
"description" : "Trace level of tsserver"
} ,
2019-03-05 21:33:05 +09:00
"tsserver.pluginRoot" : {
"type" : "string" ,
2018-09-07 21:40:51 +09:00
"default" : [ ] ,
"items" : {
"type" : "string"
} ,
"description" : "Folder contains tsserver plugins"
} ,
"tsserver.debugPort" : {
"type" : "number" ,
"description" : "Debug port number of tsserver"
} ,
"tsserver.reportStyleChecksAsWarnings" : {
"type" : "boolean" ,
"default" : true
} ,
"tsserver.implicitProjectConfig.checkJs" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Enable checkJs for implicit project"
} ,
"tsserver.implicitProjectConfig.experimentalDecorators" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Enable experimentalDecorators for implicit project"
} ,
"tsserver.disableAutomaticTypeAcquisition" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Disable download of typings"
} ,
2019-09-23 14:12:38 +09:00
"tsserver.useBatchedBufferSync" : {
2019-06-10 03:24:30 +09:00
"type" : "boolean" ,
"default" : true ,
"description" : "Use batched buffer sync support."
} ,
"typescript.showUnused" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Show unused variable hint."
} ,
2018-09-07 21:40:51 +09:00
"typescript.updateImportsOnFileMove.enable" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable update imports on file move."
} ,
"typescript.implementationsCodeLens.enable" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable codeLens for implementations"
} ,
"typescript.referencesCodeLens.enable" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable codeLens for references"
} ,
"typescript.preferences.importModuleSpecifier" : {
"type" : "string" ,
2020-04-10 19:50:14 +09:00
"default" : "auto" ,
"description" : "Preferred path style for auto imports." ,
2018-09-07 21:40:51 +09:00
"enum" : [
"non-relative" ,
2019-08-01 09:26:36 +09:00
"relative" ,
"auto"
2018-09-07 21:40:51 +09:00
]
} ,
2020-04-10 20:52:24 +09:00
"typescript.preferences.importModuleSpecifierEnding" : {
"type" : "string" ,
"enum" : [
"auto" ,
"minimal" ,
"index" ,
"js"
] ,
"default" : "auto" ,
"description" : "Preferred path ending for auto imports." ,
"scope" : "resource"
} ,
2018-09-07 21:40:51 +09:00
"typescript.preferences.quoteStyle" : {
"type" : "string" ,
2019-11-23 14:31:43 +09:00
"default" : "auto" ,
2018-09-07 21:40:51 +09:00
"enum" : [
2019-11-23 14:31:43 +09:00
"auto" ,
2018-09-07 21:40:51 +09:00
"single" ,
"double"
]
} ,
2018-10-31 15:26:14 +09:00
"typescript.suggestionActions.enabled" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable/disable suggestion diagnostics for TypeScript files in the editor. Requires using TypeScript 2.8 or newer in the workspace."
} ,
"typescript.validate.enable" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable/disable TypeScript validation."
} ,
2018-10-14 13:02:55 +09:00
"typescript.suggest.enabled" : {
"type" : "boolean" ,
"default" : true
} ,
"typescript.suggest.paths" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable/disable suggest paths in import statement and require calls"
} ,
"typescript.suggest.autoImports" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable/disable auto import suggests."
} ,
"typescript.suggest.completeFunctionCalls" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable snippet for method suggestion"
} ,
2019-11-23 18:12:58 +09:00
"typescript.format.enabled" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable format for typescript."
} ,
2018-09-07 21:40:51 +09:00
"typescript.format.insertSpaceAfterCommaDelimiter" : {
"type" : "boolean" ,
"default" : true
} ,
"typescript.format.insertSpaceAfterConstructor" : {
"type" : "boolean" ,
"default" : false
} ,
"typescript.format.insertSpaceAfterSemicolonInForStatements" : {
"type" : "boolean" ,
"default" : true
} ,
"typescript.format.insertSpaceBeforeAndAfterBinaryOperators" : {
"type" : "boolean" ,
"default" : true
} ,
"typescript.format.insertSpaceAfterKeywordsInControlFlowStatements" : {
"type" : "boolean" ,
"default" : true
} ,
"typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions" : {
"type" : "boolean" ,
"default" : true
} ,
"typescript.format.insertSpaceBeforeFunctionParenthesis" : {
"type" : "boolean" ,
"default" : false
} ,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis" : {
"type" : "boolean" ,
"default" : false
} ,
2019-06-03 22:43:48 +09:00
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets" : {
"type" : "boolean" ,
"default" : false
} ,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces" : {
"type" : "boolean" ,
"default" : false
} ,
2018-09-07 21:40:51 +09:00
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces" : {
"type" : "boolean" ,
"default" : false
} ,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces" : {
"type" : "boolean" ,
"default" : false
} ,
"typescript.format.insertSpaceAfterTypeAssertion" : {
"type" : "boolean" ,
"default" : false
} ,
"typescript.format.placeOpenBraceOnNewLineForFunctions" : {
"type" : "boolean" ,
"default" : false
} ,
"typescript.format.placeOpenBraceOnNewLineForControlBlocks" : {
"type" : "boolean" ,
"default" : false
} ,
2019-12-11 19:50:15 +09:00
"typescript.format.semicolons" : {
"type" : "string" ,
"default" : "ignore" ,
"description" : "Defines handling of optional semicolons. Requires using TypeScript 3.7 or newer in the workspace." ,
"scope" : "resource" ,
"enum" : [
"ignore" ,
"insert" ,
"remove"
]
} ,
2020-04-10 19:19:55 +09:00
"typescript.suggest.includeAutomaticOptionalChainCompletions" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable/disable showing completions on potentially undefined values that insert an optional chain call. Requires TS 3.7+ and strict null checks to be enabled." ,
"scope" : "resource"
} ,
2019-06-10 03:24:30 +09:00
"javascript.showUnused" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Show unused variable hint."
} ,
2018-09-07 21:40:51 +09:00
"javascript.updateImportsOnFileMove.enable" : {
"type" : "boolean" ,
"default" : true
} ,
"javascript.implementationsCodeLens.enable" : {
"type" : "boolean" ,
"default" : true
} ,
"javascript.referencesCodeLens.enable" : {
"type" : "boolean" ,
"default" : true
} ,
"javascript.preferences.importModuleSpecifier" : {
"type" : "string" ,
2020-04-10 19:50:14 +09:00
"default" : "auto" ,
"description" : "Preferred path style for auto imports." ,
2018-09-07 21:40:51 +09:00
"enum" : [
2020-04-10 19:50:14 +09:00
"auto" ,
2018-09-07 21:40:51 +09:00
"non-relative" ,
"relative"
]
} ,
2020-04-10 20:52:24 +09:00
"javascript.preferences.importModuleSpecifierEnding" : {
"type" : "string" ,
"enum" : [
"auto" ,
"minimal" ,
"index" ,
"js"
] ,
"default" : "auto" ,
"description" : "Preferred path ending for auto imports." ,
"scope" : "resource"
} ,
2018-09-07 21:40:51 +09:00
"javascript.preferences.quoteStyle" : {
"type" : "string" ,
2019-11-23 14:31:43 +09:00
"default" : "auto" ,
2018-09-07 21:40:51 +09:00
"enum" : [
2019-11-23 14:31:43 +09:00
"auto" ,
2018-09-07 21:40:51 +09:00
"single" ,
"double"
]
} ,
2018-10-31 15:26:14 +09:00
"javascript.validate.enable" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable/disable JavaScript validation."
} ,
"javascript.suggestionActions.enabled" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable/disable suggestion diagnostics for JavaScript files in the editor. Requires using TypeScript 2.8 or newer in the workspace."
} ,
2018-10-14 13:02:55 +09:00
"javascript.suggest.names" : {
"type" : "boolean" ,
"default" : true
} ,
"javascript.suggest.enabled" : {
"type" : "boolean" ,
"default" : true
} ,
"javascript.suggest.paths" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable/disable suggest paths in import statement and require calls"
} ,
"javascript.suggest.autoImports" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable/disable auto import suggests."
} ,
"javascript.suggest.completeFunctionCalls" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable snippet for method suggestion"
} ,
2019-11-23 18:12:58 +09:00
"javascript.format.enabled" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable format for javascript."
} ,
2018-09-07 21:40:51 +09:00
"javascript.format.insertSpaceAfterCommaDelimiter" : {
"type" : "boolean" ,
"default" : true
} ,
"javascript.format.insertSpaceAfterConstructor" : {
"type" : "boolean" ,
"default" : false
} ,
"javascript.format.insertSpaceAfterSemicolonInForStatements" : {
"type" : "boolean" ,
"default" : true
} ,
"javascript.format.insertSpaceBeforeAndAfterBinaryOperators" : {
"type" : "boolean" ,
"default" : true
} ,
"javascript.format.insertSpaceAfterKeywordsInControlFlowStatements" : {
"type" : "boolean" ,
"default" : true
} ,
"javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions" : {
"type" : "boolean" ,
"default" : true
} ,
"javascript.format.insertSpaceBeforeFunctionParenthesis" : {
"type" : "boolean" ,
"default" : false
} ,
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis" : {
"type" : "boolean" ,
"default" : false
} ,
2019-06-03 22:43:48 +09:00
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets" : {
"type" : "boolean" ,
"default" : false
} ,
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces" : {
"type" : "boolean" ,
"default" : false
} ,
2018-09-07 21:40:51 +09:00
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces" : {
"type" : "boolean" ,
"default" : false
} ,
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces" : {
"type" : "boolean" ,
"default" : false
} ,
"javascript.format.insertSpaceAfterTypeAssertion" : {
"type" : "boolean" ,
"default" : false
} ,
"javascript.format.placeOpenBraceOnNewLineForFunctions" : {
"type" : "boolean" ,
"default" : false
} ,
"javascript.format.placeOpenBraceOnNewLineForControlBlocks" : {
"type" : "boolean" ,
"default" : false
2019-12-11 19:50:15 +09:00
} ,
2020-04-10 19:19:55 +09:00
"javascript.suggest.includeAutomaticOptionalChainCompletions" : {
"type" : "boolean" ,
"default" : true ,
"description" : "%configuration.suggest.includeAutomaticOptionalChainCompletions%" ,
"scope" : "resource"
} ,
2019-12-11 19:50:15 +09:00
"javascript.format.semicolons" : {
"type" : "string" ,
"default" : "ignore" ,
"description" : "Defines handling of optional semicolons. Requires using TypeScript 3.7 or newer in the workspace." ,
"scope" : "resource" ,
"enum" : [
"ignore" ,
"insert" ,
"remove"
]
2018-09-07 21:40:51 +09:00
}
}
2018-11-14 11:43:55 +09:00
} ,
"snippets" : [
{
"language" : "typescript" ,
"path" : "./snippets/typescript.json"
} ,
{
"language" : "typescriptreact" ,
"path" : "./snippets/typescript.json"
}
]
2018-09-07 21:40:51 +09:00
} ,
"author" : "chemzqm@gmail.com" ,
"license" : "MIT" ,
"devDependencies" : {
"@chemzqm/tsconfig" : "^0.0.3" ,
2019-04-03 15:52:08 +09:00
"@chemzqm/tslint-config" : "^1.0.18" ,
2018-11-14 12:20:46 +09:00
"@types/fast-diff" : "^1.2.0" ,
2020-04-10 19:19:55 +09:00
"@types/node" : "^13.11.1" ,
2020-03-21 15:54:58 +09:00
"coc.nvim" : "^0.0.77" ,
2018-10-14 14:58:21 +09:00
"fast-diff" : "^1.2.0" ,
2020-03-21 15:54:58 +09:00
"rimraf" : "^3.0.2" ,
2020-04-10 19:19:55 +09:00
"semver" : "^7.2.1" ,
"ts-loader" : "^6.2.2" ,
"tslint" : "^6.1.1" ,
2020-03-21 15:54:58 +09:00
"vscode-languageserver-protocol" : "^3.15.3" ,
2020-04-10 19:19:55 +09:00
"webpack" : "^4.42.1" ,
2020-03-21 15:54:58 +09:00
"webpack-cli" : "^3.3.11" ,
2020-03-21 17:57:19 +09:00
"vscode-languageserver-textdocument" : "^1.0.1" ,
2020-03-21 15:54:58 +09:00
"which" : "^2.0.2"
2019-06-20 08:36:12 +09:00
} ,
"dependencies" : {
2020-03-21 17:57:19 +09:00
"typescript" : "3.8.3"
2018-09-07 21:40:51 +09:00
}
}