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-config#

Type: file

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-enable-code-lens-implementations#

Type: boolean

Default: t

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


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

Type: boolean

Default: t

Enables or disables the display of code lens information.


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

Type: boolean

Default: t

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


lsp-clients-deno-enable-lint#

Type: boolean

Default: t

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


lsp-clients-deno-enable-unstable#

Type: boolean

Default: nil

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


lsp-clients-deno-import-map#

Type: file

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-server#

Type: file

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#

Type: (repeat string)

Default: (lsp)

Extra arguments for starting the Deno language server.



Last update: January 16, 2025