Page 1 of 1

Typescript Language Server

Posted: 02 May 2021 15:18
by Rickard Johansson
Typescript language server (Typescript/JavaScript)
Language Server Protocol implementation for TypeScript wrapping tsserver.

* Install Nodejs for Windows
* Install Typescript

Code: Select all

  From command prompt run
    >npm install -g typescript
* Install typescript language server

Code: Select all

  From command prompt run
    >npm install -g typescript-language-server
Add the server in project/sites settings

Server name
Typescript language server


Command line arguments
--stdio --tsserver-path=tsserver.cmd

Initial folder

File extension and language id

Communication channel
* Command line (stdio)

Source folders
<Path to the ts or js files in your project or site>

Initialize options

To use socket communication you can replace --stdio with --socket=5000 and set the appropriate settings.

Re: Typescript Language Server

Posted: 03 May 2021 19:58
by Rickard Johansson
Updated the information above.