0.0.7 • Published 7 years ago

typescript-lsp v0.0.7

Weekly downloads
1
License
Apache-2.0
Repository
-
Last release
7 years ago

TypeScript LSP

Language Server Protocol implementation for TypeScript wrapping tsserver.

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

Based on concepts and ideas from https://github.com/prabirshrestha/typescript-language-server.

Supported Protocol features

  • textDocument/didChange (incremental)
  • textDocument/didClose
  • textDocument/didOpen
  • textDocument/didSave

  • textDocument/codeAction

  • textDocument/completion (incl. completion/resolve)
  • textDocument/definition
  • textDocument/documentHighlight
  • textDocument/documentSymbol
  • textDocument/executeCommand
  • textDocument/format
  • textDocument/hover
  • textDocument/rename
  • textDocument/references
  • textDocument/signatureHelp
  • workspace/symbol

Installing

npm install -g typescript-lsp

Running the language server

typescript-lsp --stdio

Options

$ typescript-lsp --help

  Usage: typescript-lsp [options]


  Options:

    -V, --version           output the version number
    --stdio                 use stdio
    --node-ipc              use node-ipc
    --socket <port>         use socket. example: --socket=5000
    --tsserver-path <path>  absolute path to tsserver. example: --tsserver-path=/bin/tsserver
    --tsserver-logFile <logFile>     Specify a log file. example: --tsserver-logFile=logs.txt
    -h, --help              output usage information

Development

Build

yarn install
yarn build
yarn test

Watch

yarn
yarn watch
0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago