2018-09-07 21:40:51 +09:00
{
"name" : "coc-tsserver" ,
2022-07-31 19:36:56 +09:00
"version" : "1.11.1" ,
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" : {
2021-01-06 18:42:01 +09:00
"coc" : "^0.0.80"
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" : {
2021-01-17 17:41:04 +09:00
"prepare" : "node esbuild.js"
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" ,
2020-12-08 19:50:01 +09:00
"onLanguage:jsonc" ,
"onCommand:_typescript.configurePlugin" ,
2022-07-30 01:43:59 +09:00
"onCommand:tsserver.reloadProjects" ,
"onCommand:tsserver.goToProjectConfig" ,
"onCommand:tsserver.openTsServerLog" ,
"onCommand:tsserver.goToSourceDefinition" ,
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"
} ,
2021-06-04 19:54:48 +09:00
{
"title" : "Find File References" ,
"category" : "TSServer" ,
"command" : "tsserver.findAllFileReferences"
} ,
2022-07-30 01:43:59 +09:00
{
"command" : "tsserver.goToSourceDefinition" ,
"title" : "Go to Source Definition" ,
"category" : "TSServer"
} ,
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"
} ,
2021-06-07 12:29:30 +09:00
"tsserver.tsconfigPath" : {
"type" : "string" ,
"default" : "tsconfig.json" ,
"description" : "Path to tsconfig file for the `tsserver.watchBuild` command. Defaults to `tsconfig.json`."
} ,
2018-09-07 21:40:51 +09:00
"tsserver.locale" : {
2020-09-18 17:51:15 +09:00
"type" : [
"string" ,
"null"
] ,
"default" : null ,
"description" : "Sets the locale used to report JavaScript and TypeScript errors. Default of `null` uses english."
2018-09-07 21:40:51 +09:00
} ,
"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"
} ,
2020-04-17 19:58:07 +09:00
"tsserver.watchOptions" : {
"type" : "object" ,
"description" : "Configure which watching strategies should be used to keep track of files and directories. Requires using TypeScript 3.8+ in the workspace." ,
"properties" : {
"watchFile" : {
"type" : "string" ,
"description" : "Strategy for how individual files are watched." ,
"enum" : [
"fixedPollingInterval" ,
"priorityPollingInterval" ,
"dynamicPriorityPolling" ,
"useFsEvents" ,
"useFsEventsOnParentDirectory"
] ,
"default" : "useFsEvents"
} ,
"watchDirectory" : {
"type" : "string" ,
"description" : "Strategy for how entire directory trees are watched under systems that lack recursive file-watching functionality." ,
"enum" : [
"fixedPollingInterval" ,
"dynamicPriorityPolling" ,
"useFsEvents"
] ,
"default" : "useFsEvents"
} ,
"fallbackPolling" : {
"type" : "string" ,
"description" : "When using file system events, this option specifies the polling strategy that gets used when the system runs out of native file watchers and/or doesn’ t support native file watchers." ,
"enum" : [
"fixedPollingInterval" ,
"priorityPollingInterval" ,
"dynamicPriorityPolling"
]
} ,
"synchronousWatchDirectory" : {
"type" : "boolean" ,
"description" : "Disable deferred watching on directories. Deferred watching is useful when lots of file changes might occur at once (e.g. a change in node_modules from running npm install), but you might want to disable it with this flag for some less-common setups."
}
}
} ,
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"
} ,
2021-12-21 19:04:20 +09:00
"tsserver.enableTracing" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Enables tracing TS server performance to a directory. These trace files can be used to diagnose TS Server performance issues. The log may contain file paths, source code, and other potentially sensitive information from your project." ,
"scope" : "window"
} ,
2020-07-13 20:56:13 +09:00
"tsserver.pluginPaths" : {
"type" : "array" ,
2018-09-07 21:40:51 +09:00
"default" : [ ] ,
"items" : {
"type" : "string"
} ,
2020-07-13 20:56:13 +09:00
"description" : "Folders contains tsserver plugins"
2018-09-07 21:40:51 +09:00
} ,
"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" ,
2021-12-22 02:17:42 +09:00
"default" : false ,
2018-09-07 21:40:51 +09:00
"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."
} ,
2021-12-22 02:17:42 +09:00
"typescript.check.npmIsInstalled" : {
"type" : "boolean" ,
"default" : true ,
"markdownDescription" : "Check if npm is installed for [Automatic Type Acquisition](https://code.visualstudio.com/docs/nodejs/working-with-javascript#_typings-and-automatic-type-acquisition)." ,
"scope" : "window"
} ,
2019-06-10 03:24:30 +09:00
"typescript.showUnused" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Show unused variable hint."
} ,
2021-07-28 00:03:19 +09:00
"typescript.showDeprecated" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Show deprecated 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"
} ,
2022-01-13 01:29:12 +09:00
"typescript.referencesCodeLens.showOnAllFunctions" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Enable/disable references CodeLens on all functions in typescript files." ,
"scope" : "window"
} ,
2018-09-07 21:40:51 +09:00
"typescript.preferences.importModuleSpecifier" : {
"type" : "string" ,
2021-06-07 12:26:52 +09:00
"default" : "shortest" ,
2020-04-10 19:50:14 +09:00
"description" : "Preferred path style for auto imports." ,
2021-06-07 12:26:52 +09:00
"enumDescriptions" : [
"Prefers a non-relative import only if one is available that has fewer path segments than a relative import" ,
"Prefers a relative path to the imported file location" ,
"Prefers a non-relative import based on the `baseUrl` or `paths` configured in your `jsconfig.json` / `tsconfig.json`." ,
"Prefers a non-relative import only if the relative import path would leave the package or project directory. Requires using TypeScript 4.2+ in the workspace."
] ,
2018-09-07 21:40:51 +09:00
"enum" : [
2021-06-07 12:26:52 +09:00
"shortest" ,
2019-08-01 09:26:36 +09:00
"relative" ,
2021-06-07 12:26:52 +09:00
"non-relative" ,
"project-relative"
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"
} ,
2021-12-21 14:52:08 +09:00
"typescript.preferences.jsxAttributeCompletionStyle" : {
"type" : "string" ,
"enum" : [
"auto" ,
"braces" ,
"none"
] ,
"markdownEnumDescriptions" : [
"Insert `={}` or `=\"\"` after attribute names based on the prop type." ,
"Insert `={}` after attribute names." ,
"Only insert attribute names."
] ,
"default" : "auto" ,
"description" : "Preferred style for JSX attribute completions." ,
"scope" : "resource"
} ,
2021-12-21 18:38:28 +09:00
"typescript.preferences.includePackageJsonAutoImports" : {
"type" : "string" ,
"enum" : [
"auto" ,
"on" ,
"off"
] ,
"enumDescriptions" : [
"Search dependencies based on estimated performance impact." ,
"Always search dependencies." ,
"Never search dependencies."
] ,
"default" : "auto" ,
"markdownDescription" : "Enable/disable searching `package.json` dependencies for available auto imports." ,
"scope" : "window"
} ,
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"
]
} ,
2020-08-22 00:19:45 +09:00
"typescript.preferences.useAliasesForRenames" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable/disable introducing aliases for object shorthand properties during renames. Requires using TypeScript 3.4 or newer in the workspace." ,
"scope" : "resource"
} ,
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"
} ,
2021-05-28 19:45:47 +09:00
"typescript.suggest.importStatements" : {
"type" : "boolean" ,
"default" : true
} ,
2018-10-14 13:02:55 +09:00
"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"
} ,
2021-05-28 19:45:47 +09:00
"typescript.suggest.includeCompletionsForImportStatements" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable/disable auto-import-style completions on partially-typed import statements. Requires using TypeScript 4.3+ in the workspace." ,
"scope" : "resource"
} ,
"typescript.suggest.includeCompletionsWithSnippetText" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable/disable snippet completions from TS Server. Requires using TypeScript 4.3+ in the workspace." ,
"scope" : "resource"
} ,
2021-12-21 18:00:49 +09:00
"typescript.suggest.classMemberSnippets.enabled" : {
2021-12-21 14:54:47 +09:00
"type" : "boolean" ,
"default" : true ,
"description" : "Enable/disable snippet completions for class members. Requires using TypeScript 4.5+ in the workspace" ,
"scope" : "resource"
} ,
2021-12-21 18:22:46 +09:00
"typescript.suggest.jsdoc.generateReturns" : {
"type" : "boolean" ,
"default" : true ,
"markdownDescription" : "Enable/disable generating `@return` annotations for JSDoc templates. Requires using TypeScript 4.2+ in the workspace." ,
"scope" : "resource"
} ,
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
} ,
2020-12-10 17:55:04 +09:00
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces" : {
"type" : "boolean" ,
"default" : false
} ,
2019-06-03 22:43:48 +09:00
"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"
} ,
2020-06-20 12:21:33 +09:00
"typescript.workspaceSymbols.scope" : {
"type" : "string" ,
"enum" : [
"allOpenProjects" ,
"currentProject"
] ,
"default" : "allOpenProjects" ,
"scope" : "window"
} ,
2021-04-07 19:31:04 +09:00
"typescript.autoClosingTags" : {
"type" : "boolean" ,
2022-01-20 05:04:13 +09:00
"default" : true ,
"description" : "Enable/disable automatic closing of JSX tags."
2021-04-07 19:31:04 +09:00
} ,
2019-06-10 03:24:30 +09:00
"javascript.showUnused" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Show unused variable hint."
} ,
2021-07-28 00:03:19 +09:00
"javascript.showDeprecated" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Show deprecated 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
} ,
2022-01-13 01:29:12 +09:00
"javascript.referencesCodeLens.showOnAllFunctions" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Enable/disable references CodeLens on all functions in JavaScript files." ,
"scope" : "window"
} ,
2018-09-07 21:40:51 +09:00
"javascript.preferences.importModuleSpecifier" : {
"type" : "string" ,
2021-06-07 12:26:52 +09:00
"default" : "shortest" ,
2020-04-10 19:50:14 +09:00
"description" : "Preferred path style for auto imports." ,
2021-06-07 12:26:52 +09:00
"enumDescriptions" : [
"Prefers a non-relative import only if one is available that has fewer path segments than a relative import" ,
"Prefers a relative path to the imported file location" ,
"Prefers a non-relative import based on the `baseUrl` or `paths` configured in your `jsconfig.json` / `tsconfig.json`." ,
"Prefers a non-relative import only if the relative import path would leave the package or project directory. Requires using TypeScript 4.2+ in the workspace."
] ,
2018-09-07 21:40:51 +09:00
"enum" : [
2021-06-07 12:26:52 +09:00
"shortest" ,
"relative" ,
2018-09-07 21:40:51 +09:00
"non-relative" ,
2021-06-07 12:26:52 +09:00
"project-relative"
2018-09-07 21:40:51 +09:00
]
} ,
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"
} ,
2021-12-21 14:52:08 +09:00
"javascript.preferences.jsxAttributeCompletionStyle" : {
"type" : "string" ,
"enum" : [
"auto" ,
"braces" ,
"none"
] ,
"markdownEnumDescriptions" : [
"Insert `={}` or `=\"\"` after attribute names based on the prop type." ,
"Insert `={}` after attribute names." ,
"Only insert attribute names."
] ,
"default" : "auto" ,
"description" : "Preferred style for JSX attribute completions." ,
"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"
]
} ,
2020-08-22 00:19:45 +09:00
"javascript.preferences.useAliasesForRenames" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable/disable introducing aliases for object shorthand properties during renames. Requires using TypeScript 3.4 or newer in the workspace." ,
"scope" : "resource"
} ,
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"
} ,
2021-05-28 19:45:47 +09:00
"javascript.suggest.includeCompletionsForImportStatements" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable/disable auto-import-style completions on partially-typed import statements. Requires using TypeScript 4.3+ in the workspace." ,
"scope" : "resource"
} ,
2021-12-21 18:00:49 +09:00
"javascript.suggest.classMemberSnippets.enabled" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable/disable snippet completions for class members. Requires using TypeScript 4.5+ in the workspace" ,
"scope" : "resource"
} ,
2021-12-21 18:22:46 +09:00
"javascript.suggest.jsdoc.generateReturns" : {
"type" : "boolean" ,
"default" : true ,
"markdownDescription" : "Enable/disable generating `@return` annotations for JSDoc templates. Requires using TypeScript 4.2+ in the workspace." ,
"scope" : "resource"
} ,
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
} ,
2020-12-10 17:55:04 +09:00
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces" : {
"type" : "boolean" ,
"default" : false
} ,
2019-06-03 22:43:48 +09:00
"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 ,
2021-12-24 19:29:47 +09:00
"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"
} ,
"typescript.inlayHints.parameterNames.enabled" : {
"type" : "string" ,
"enum" : [
"none" ,
"literals" ,
"all"
] ,
"enumDescriptions" : [
"Disable parameter name hints." ,
"Enable parameter name hints only for literal arguments." ,
"Enable parameter name hints for literal and non-literal arguments."
] ,
"default" : "none" ,
"description" : "Enable/disable inlay hints of parameter names." ,
"scope" : "resource"
} ,
"typescript.inlayHints.parameterNames.suppressWhenArgumentMatchesName" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Suppress parameter name hints on arguments whose text is identical to the parameter name." ,
"scope" : "resource"
} ,
"typescript.inlayHints.parameterTypes.enabled" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Enable/disable inlay hints of parameter types." ,
"scope" : "resource"
} ,
"typescript.inlayHints.variableTypes.enabled" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Enable/disable inlay hints of variable types." ,
"scope" : "resource"
} ,
"typescript.inlayHints.propertyDeclarationTypes.enabled" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Enable/disable inlay hints of property declarations." ,
"scope" : "resource"
} ,
"typescript.inlayHints.functionLikeReturnTypes.enabled" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Enable/disable inlay hints of return type for function signatures." ,
"scope" : "resource"
} ,
"typescript.inlayHints.enumMemberValues.enabled" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Enable/disable inlay hints of enum member values." ,
"scope" : "resource"
} ,
"javascript.inlayHints.parameterNames.enabled" : {
"type" : "string" ,
"enum" : [
"none" ,
"literals" ,
"all"
] ,
"enumDescriptions" : [
"Disable parameter name hints." ,
"Enable parameter name hints only for literal arguments." ,
"Enable parameter name hints for literal and non-literal arguments."
] ,
"default" : "none" ,
"description" : "Enable/disable inlay hints of parameter names." ,
"scope" : "resource"
} ,
"javascript.inlayHints.parameterNames.suppressWhenArgumentMatchesName" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Suppress parameter name hints on arguments whose text is identical to the parameter name." ,
"scope" : "resource"
} ,
"javascript.inlayHints.parameterTypes.enabled" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Enable/disable inlay hints of parameter types." ,
"scope" : "resource"
} ,
"javascript.inlayHints.variableTypes.enabled" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Enable/disable inlay hints of variable types." ,
"scope" : "resource"
} ,
"javascript.inlayHints.propertyDeclarationTypes.enabled" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Enable/disable inlay hints of property declarations." ,
"scope" : "resource"
} ,
"javascript.inlayHints.functionLikeReturnTypes.enabled" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Enable/disable inlay hints of return type for function signatures." ,
"scope" : "resource"
} ,
"javascript.inlayHints.enumMemberValues.enabled" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Enable/disable inlay hints of enum member values." ,
2020-04-10 19:19:55 +09:00
"scope" : "resource"
} ,
2021-04-07 19:31:04 +09:00
"javascript.autoClosingTags" : {
"type" : "boolean" ,
2022-01-20 05:04:13 +09:00
"default" : true ,
"description" : "Enable/disable automatic closing of JSX tags."
2021-04-07 19:31:04 +09:00
} ,
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"
]
2022-04-10 16:07:17 +09:00
} ,
"javascript.suggest.completeJSDocs" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable/disable suggestion to complete JSDoc comments."
} ,
"typescript.suggest.completeJSDocs" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable/disable suggestion to complete JSDoc comments."
2022-04-10 16:15:32 +09:00
} ,
"javascript.suggest.objectLiteralMethodSnippets.enabled" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable/disable snippet completions for methods in object literals. Requires using TypeScript 4.7+ in the workspace" ,
"scope" : "resource"
} ,
"typescript.suggest.objectLiteralMethodSnippets.enabled" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable/disable snippet completions for methods in object literals. Requires using TypeScript 4.7+ in the workspace" ,
"scope" : "resource"
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"
2022-02-28 01:40:14 +09:00
} ,
{
"language" : "javascript" ,
"path" : "./snippets/javascript.json"
} ,
{
"language" : "javascriptreact" ,
"path" : "./snippets/javascript.json"
2018-11-14 11:43:55 +09:00
}
]
2018-09-07 21:40:51 +09:00
} ,
"author" : "chemzqm@gmail.com" ,
"license" : "MIT" ,
"devDependencies" : {
2022-01-12 05:12:31 +09:00
"@types/node" : "^12.12.12" ,
2022-05-06 16:05:06 +09:00
"coc.nvim" : "^0.0.81-next.25" ,
2022-01-12 05:12:31 +09:00
"esbuild" : "^0.14.11" ,
"semver" : "^7.3.5" ,
2021-06-10 16:29:25 +09:00
"vscode-languageserver-protocol" : "^3.16.0" ,
2021-01-06 18:42:01 +09:00
"which" : "^2.0.2"
2019-06-20 08:36:12 +09:00
} ,
"dependencies" : {
2022-05-28 07:45:25 +09:00
"typescript" : "^4.7.2"
2018-09-07 21:40:51 +09:00
}
}