JSPM

  • Created
  • Published
  • Downloads 2406428
  • Score
    100M100P100Q186061F
  • License MIT

Language Server Protocol (LSP) implementation for TypeScript using tsserver

Package Exports

  • typescript-language-server/lib/cli

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (typescript-language-server) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

typescript-language-server

Language Server Protocol implementation for Typescript via tsserver.cmd ⚠️ WIP ⚠️

https://nodei.co/npm/typescript-language-server.png?downloads=true&downloadRank=true&stars=true

Installing

npm install -g typescript-language-server

Running the language server

typescript-language-server --stdio

Note: typescript-language-server requires tsserver to be in path. You can install it using npm install -g typescript.

Supported Protocol features

  • textDocument/completion
  • textDocument/definition
  • textDocument/didChange
  • textDocument/didClose
  • textDocument/didOpen
  • textDocument/didSave
  • textDocument/references

Development

Build

npm install
npm run build

Watch

npm install
npm run watch