Back to Extensions Directory
Read the complete README
coc-deno
Heyward FannDeno extension for coc.nvim, forked from vscode_deno
Installation CommandVim prompt
:CocInstall coc-deno
GitHub owner
Heyward FannVersion
v3.15.0npm package
coc-denoRequirements
coc ^0.0.80
License
MIT
Repository
GitHubnpm latest published 2024-05-13Registry checked 2026-08-23Registry summary
Published Package Summary
coc-deno
Deno extension for coc.nvim, forked from vscode_deno.
Install
:CocInstall coc-deno
Usage
- make sure you have Deno v1.7+ installed
deno --version - run
:CocCommand deno.initializeWorkspacein your project
Configurations
You can configure coc-deno through :CocConfig, same configurations as
vscode_deno.
License
MIT
This extension is built with create-coc-extension
- Deno extension for coc.nvim, forked from vscode_deno
Activation Events
- onCommand:deno.initializeWorkspace
- onLanguage:typescript
- onLanguage:typescriptreact
- onLanguage:javascript
- onLanguage:javascriptreact
Developer Resources
Want to build, test, or contribute to coc.nvim extensions? Explore our official SDK and testing toolkits.
Open Developer GuideVersion History
This published npm package does not include a history.md or changelog.md file. Browse its npm versions or repository releases for available release information.
Contributed Commands
All contributes.commands entries from the published package manifest for coc-deno@3.15.0.
| Command (:CocCommand) | Description |
|---|---|
| deno.cacheActiveDocument | Cache Dependencies |
| deno.status | Language Server Status |
| deno.restart | Restart Language Server |
| deno.task | List/Run Deno task |
| deno.initializeWorkspace | Initialize Workspace Configuration |
Configuration Schema
All contributes.configuration entries from the published package manifest, including each raw property schema for coc-settings.json.
deno.lintboolean
Controls if linting information will be provided by the Deno Language Server.
**Not recommended to be enabled globally.**
Default: true
Raw JSON Schema
{
"type": "boolean",
"scope": "window",
"default": true,
"examples": [
true,
false
],
"markdownDescription": "Controls if linting information will be provided by the Deno Language Server.\n\n**Not recommended to be enabled globally.**"
}deno.pathstring
A path to the `deno` CLI executable. By default, the extension looks for `deno` in the `PATH`, but if set, will use the path specified instead.
Default: null
Raw JSON Schema
{
"type": "string",
"scope": "window",
"default": null,
"examples": [
"/usr/bin/deno",
"C:\\Program Files\\deno\\deno.exe"
],
"markdownDescription": "A path to the `deno` CLI executable. By default, the extension looks for `deno` in the `PATH`, but if set, will use the path specified instead."
}deno.cachestring
A path to the cache directory for Deno. By default, the operating system's cache path plus `deno` is used, or the `DENO_DIR` environment variable, but if set, this path will be used instead.
Default: null
Raw JSON Schema
{
"type": "string",
"scope": "window",
"default": null,
"markdownDescription": "A path to the cache directory for Deno. By default, the operating system's cache path plus `deno` is used, or the `DENO_DIR` environment variable, but if set, this path will be used instead."
}deno.configstring
The file path to a configuration file. This is the equivalent to using `--config` on the command line. The path can be either be relative to the workspace, or an absolute path.
It is recommend you name it `deno.json` or `deno.jsonc`.
**Not recommended to be set globally.**
Default: null
Raw JSON Schema
{
"type": "string",
"scope": "window",
"default": null,
"examples": [
"./deno.jsonc",
"/path/to/deno.jsonc",
"C:\\path\\to\\deno.jsonc"
],
"markdownDescription": "The file path to a configuration file. This is the equivalent to using `--config` on the command line. The path can be either be relative to the workspace, or an absolute path.\n\nIt is recommend you name it `deno.json` or `deno.jsonc`.\n\n**Not recommended to be set globally.**"
}deno.enableboolean
Controls if the Deno Language Server is enabled. When enabled, the extension will disable the built-in VSCode JavaScript and TypeScript language services, and will use the Deno Language Server (`deno lsp`) instead.
**Not recommended to be enabled globally.**
Default: false
Raw JSON Schema
{
"type": "boolean",
"scope": "window",
"default": false,
"examples": [
true,
false
],
"markdownDescription": "Controls if the Deno Language Server is enabled. When enabled, the extension will disable the built-in VSCode JavaScript and TypeScript language services, and will use the Deno Language Server (`deno lsp`) instead.\n\n**Not recommended to be enabled globally.**"
}deno.unstableboolean
Controls if code will be type checked with Deno's unstable APIs. This is the equivalent to using `--unstable` on the command line.
**Not recommended to be enabled globally.**
Default: false
Raw JSON Schema
{
"type": "boolean",
"scope": "window",
"default": false,
"examples": [
true,
false
],
"markdownDescription": "Controls if code will be type checked with Deno's unstable APIs. This is the equivalent to using `--unstable` on the command line.\n\n**Not recommended to be enabled globally.**"
}deno.importMapstring
The file path to an import map. This is the equivalent to using `--import-map` on the command line.
[Import maps](https://deno.land/[email protected]/linking_to_external_code/import_maps) provide a way to "relocate" modules based on their specifiers. The path can either be relative to the workspace, or an absolute path.
**Not recommended to be set globally.**
Default: null
Raw JSON Schema
{
"type": "string",
"scope": "window",
"default": null,
"examples": [
"./import_map.json",
"/path/to/import_map.json",
"C:\\path\\to\\import_map.json"
],
"markdownDescription": "The file path to an import map. This is the equivalent to using `--import-map` on the command line.\n\n[Import maps](https://deno.land/[email protected]/linking_to_external_code/import_maps) provide a way to \"relocate\" modules based on their specifiers. The path can either be relative to the workspace, or an absolute path.\n\n**Not recommended to be set globally.**"
}deno.cacheOnSaveboolean
Controls if the extension should cache the active document's dependencies on save.
Default: true
Raw JSON Schema
{
"type": "boolean",
"scope": "window",
"default": true,
"markdownDescription": "Controls if the extension should cache the active document's dependencies on save."
}deno.testing.argsarray
Arguments to use when running tests via the Test Explorer. Defaults to `[ "--allow-all" ]`.
Default: ["--allow-all","--no-check"]
Raw JSON Schema
{
"type": "array",
"items": {
"type": "string"
},
"scope": "window",
"default": [
"--allow-all",
"--no-check"
],
"markdownDescription": "Arguments to use when running tests via the Test Explorer. Defaults to `[ \"--allow-all\" ]`."
}deno.trace.serverstring
Trace requests to Deno
Default: "off"
Raw JSON Schema
{
"enum": [
"off",
"messages",
"verbose"
],
"type": "string",
"scope": "window",
"default": "off",
"description": "Trace requests to Deno",
"enumDescriptions": [
"No traces",
"Error only",
"Full log"
]
}deno.codeLens.testboolean
Enables or disables the display of code lenses that allow running of individual tests in the code.
Default: true
Raw JSON Schema
{
"type": "boolean",
"scope": "resource",
"default": true,
"markdownDescription": "Enables or disables the display of code lenses that allow running of individual tests in the code."
}deno.internalDebugboolean
Determines if the internal debugging information for the Deno language server will be logged to the _Deno Language Server_ console.
Default: false
Raw JSON Schema
{
"type": "boolean",
"scope": "window",
"default": false,
"examples": [
true,
false
],
"markdownDescription": "Determines if the internal debugging information for the Deno language server will be logged to the _Deno Language Server_ console."
}deno.suggest.namesboolean
Default: true
Raw JSON Schema
{
"type": "boolean",
"scope": "window",
"default": true
}deno.suggest.pathsboolean
Default: true
Raw JSON Schema
{
"type": "boolean",
"scope": "window",
"default": true
}deno.codeLens.testArgsarray
Additional arguments to use with the run test code lens. Defaults to `[ "--allow-all", "--no-check" ]`.
Default: ["--allow-all","--no-check"]
Raw JSON Schema
{
"type": "array",
"items": {
"type": "string"
},
"scope": "resource",
"default": [
"--allow-all",
"--no-check"
],
"markdownDescription": "Additional arguments to use with the run test code lens. Defaults to `[ \"--allow-all\", \"--no-check\" ]`."
}deno.codeLens.referencesboolean
Enables or disables the display of code lens information for references of items in the code.
Default: false
Raw JSON Schema
{
"type": "boolean",
"scope": "window",
"default": false,
"examples": [
true,
false
],
"markdownDescription": "Enables or disables the display of code lens information for references of items in the code."
}deno.suggest.autoImportsboolean
Default: true
Raw JSON Schema
{
"type": "boolean",
"scope": "window",
"default": true
}deno.documentPreloadLimitnumber
Maximum number of file system entries to traverse when finding scripts to preload into TypeScript on startup. Set this to 0 to disable document preloading.
Default: 1000
Raw JSON Schema
{
"type": "number",
"scope": "resource",
"default": 1000,
"examples": [
0,
100,
1000
],
"markdownDescription": "Maximum number of file system entries to traverse when finding scripts to preload into TypeScript on startup. Set this to 0 to disable document preloading."
}deno.suggest.imports.hostsobject
Controls which hosts are enabled for import suggestions.
Default: {"https://deno.land":true}
Raw JSON Schema
{
"type": "object",
"scope": "window",
"default": {
"https://deno.land": true
},
"examples": {
"https://deno.land": true
},
"markdownDescription": "Controls which hosts are enabled for import suggestions."
}deno.codeLens.implementationsboolean
Enables or disables the display of code lens information for implementations of items in the code.
Default: false
Raw JSON Schema
{
"type": "boolean",
"scope": "window",
"default": false,
"examples": [
true,
false
],
"markdownDescription": "Enables or disables the display of code lens information for implementations of items in the code."
}deno.suggest.imports.autoDiscoverboolean
If enabled, when new hosts/origins are encountered that support import suggestions, you will be prompted to enable or disable it. Defaults to `true`.
Default: true
Raw JSON Schema
{
"type": "boolean",
"scope": "window",
"default": true,
"markdownDescription": "If enabled, when new hosts/origins are encountered that support import suggestions, you will be prompted to enable or disable it. Defaults to `true`."
}deno.suggest.completeFunctionCallsboolean
Default: false
Raw JSON Schema
{
"type": "boolean",
"scope": "window",
"default": false
}deno.codeLens.referencesAllFunctionsboolean
Enables or disables the display of code lens information for all functions in the code.
Default: false
Raw JSON Schema
{
"type": "boolean",
"scope": "window",
"default": false,
"examples": [
true,
false
],
"markdownDescription": "Enables or disables the display of code lens information for all functions in the code."
}deno.inlayHints.variableTypes.enabledboolean
Enable/disable inlay hints for implicit variable types.
Default: false
Raw JSON Schema
{
"type": "boolean",
"scope": "resource",
"default": false,
"markdownDescription": "Enable/disable inlay hints for implicit variable types."
}deno.inlayHints.parameterNames.enabledstring
Enable/disable inlay hints for parameter names.
Default: "none"
Raw JSON Schema
{
"enum": [
"none",
"literals",
"all"
],
"type": "string",
"scope": "resource",
"default": "none",
"enumDescriptions": [
"Disable inlay hints for parameters.",
"Display inlay hints for literal arguments.",
"Display inlay hints for all literal and non-literal arguments."
],
"markdownDescription": "Enable/disable inlay hints for parameter names."
}deno.inlayHints.parameterTypes.enabledboolean
Enable/disable inlay hints for implicit parameter types.
Default: false
Raw JSON Schema
{
"type": "boolean",
"scope": "resource",
"default": false,
"markdownDescription": "Enable/disable inlay hints for implicit parameter types."
}deno.inlayHints.enumMemberValues.enabledboolean
Enable/disable inlay hints for enum values.
Default: false
Raw JSON Schema
{
"type": "boolean",
"scope": "resource",
"default": false,
"markdownDescription": "Enable/disable inlay hints for enum values."
}deno.inlayHints.functionLikeReturnTypes.enabledboolean
Enable/disable inlay hints for implicit function return types.
Default: false
Raw JSON Schema
{
"type": "boolean",
"scope": "resource",
"default": false,
"markdownDescription": "Enable/disable inlay hints for implicit function return types."
}deno.inlayHints.propertyDeclarationTypes.enabledboolean
Enable/disable inlay hints for implicit property declarations.
Default: false
Raw JSON Schema
{
"type": "boolean",
"scope": "resource",
"default": false,
"markdownDescription": "Enable/disable inlay hints for implicit property declarations."
}deno.inlayHints.variableTypes.suppressWhenTypeMatchesNameboolean
Suppress type hints where the variable name matches the implicit type.
Default: true
Raw JSON Schema
{
"type": "boolean",
"scope": "resource",
"default": true,
"markdownDescription": "Suppress type hints where the variable name matches the implicit type."
}deno.inlayHints.parameterNames.suppressWhenArgumentMatchesNameboolean
Do not display an inlay hint when the argument name matches the parameter.
Default: true
Raw JSON Schema
{
"type": "boolean",
"scope": "resource",
"default": true,
"markdownDescription": "Do not display an inlay hint when the argument name matches the parameter."
}

