Skip to content

Javascript/Typescript (deno)#

Server#

For more information about the LSP server, check deno lsp.

Installation#

Debugger: Yes (Chrome)#

Available configurations#

lsp-clients-deno-server#

Default: deno

The Deno executable to use. Leave as just the executable name to use the default behavior of finding the executable with variable ‘exec-path’.


lsp-clients-deno-server-args#

Default: (lsp)

Extra arguments for starting the Deno language server.


lsp-clients-deno-enable-lint#

Default: t

Controls if linting information will be provided by the Deno Language Server.


lsp-clients-deno-enable-code-lens-references#

Default: t

Enables or disables the display of code lens information.


lsp-clients-deno-enable-code-lens-references-all-functions#

Default: t

Enables or disables the display of code lens information for all functions. Setting this variable to ‘non-nil’ implicitly enables ‘lsp-clients-deno-enable-code-lens-references’.


lsp-clients-deno-enable-code-lens-implementations#

Default: t

Enables or disables the display of code lens information for implementations.


lsp-clients-deno-config#

Default: nil

The file path to a tsconfig.json file. The path can be either be relative to the workspace, or an absolute path.

Examples: ‘./tsconfig.json’, ‘/path/to/tsconfig.json’, ‘C:\path\to\tsconfig.json’


lsp-clients-deno-import-map#

Default: nil

The file path to an import map. 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.

Examples: ‘./import-map.json’, ‘/path/to/import-map.json’, ‘C:\path\to\import-map.json’.


lsp-clients-deno-enable-unstable#

Default: nil

Controls if code will be type checked with Deno’s unstable APIs.



Last update: April 15, 2021