Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.4 KB

typescript-language-server.md

File metadata and controls

23 lines (15 loc) · 1.4 KB

TypeScript Language Server

You can use the TypeScript language server to benefit from TypeScript, React and JavaScript support:

TypeScript demo

You can use it by following these instructions:

npm install -g typescript-language-server typescript

It will install:

  • TypeScript language server. This project delegates the LSP operations (completion, diagnostics, etc) to the tsserver from TypeScript which doesn't support LSP.
  • TypeScript which hosts the tsserver.
  • As the command will add typescript-language-server in your OS PATH, you will have to close and reopen your IntelliJ to update this PATH.

After that you can create the TypeScript Language Server with the language server template:

TypeScript server dialog