Skip to content

JavaScript/TypeScript (sourcegraph - UNMAINTAINED)#

Server#

For more information about the LSP server, check javascript-typescript-stdio.

Installation#

This Server supports automatic install. Install this language server with M-xlsp-install-serverRETjsts-lsRET.

npm i -g javascript-typescript-langserver

Debugger: Yes (Firefox/Chrome)#

Available configurations#

lsp-javascript-inlay-face#

Type: face

Default: ((t :inherit font-lock-comment-face))

The face to use for the JavaScript inlays.


lsp-javascript-inlay-param-format#

Type: (string :tag String)

Default: %s:

Format string for parameter inlays (part of the inlay face).


lsp-javascript-inlay-parameter-face#

Type: face

Default: ((t :inherit lsp-javascript-inlay-face))

Face for inlay parameter hints (e.g. function parameter names at call-site).


lsp-javascript-inlay-type-face#

Type: face

Default: ((t :inherit lsp-javascript-inlay-face))

Face for inlay type hints (e.g. inferred variable types).


lsp-javascript-inlay-type-format#

Type: (string :tag String)

Default: : %s

Format string for variable inlays (part of the inlay face).


lsp-clients-typescript-javascript-server-args#

Type: (repeat string)

Default: nil

Extra arguments for the typescript-language-server language server.



Last update: June 25, 2022