0.3.12 • Published 4 years ago

typescript-language-server-with-ts v0.3.12

Weekly downloads
180
License
Apache-2.0
Repository
github
Last release
4 years ago

Gitpod - Code Now Build Status

TypeScript Language Server

Language Server Protocol implementation for TypeScript wrapping tsserver.

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

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

Maintained by TypeFox and others.

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-language-server

Running the language server

typescript-language-server --stdio

Options

  Usage: typescript-language-server [options]


  Options:

    -V, --version                          output the version number
    --stdio                                use stdio
    --node-ipc                             use node-ipc
    --log-level <log-level>                A number indicating the log level (4 = log, 3 = info, 2 = warn, 1 = error). Defaults to `2`.
    --socket <port>                        use socket. example: --socket=5000
    --tsserver-log-file <tsServerLogFile>  Specify a tsserver log file. example: --tsserver-log-file=ts-logs.txt
    --tsserver-log-verbosity <verbosity>   Specify tsserver log verbosity (terse, normal, verbose). Defaults to `normal`. example: --tsserver-log-verbosity=verbose
    --tsserver-path <path>                 Specify path to tsserver. example: --tsserver-path=tsserver
    -h, --help                             output usage information

Development

Open in Gitpod

Build

yarn

Test

yarn test

Watch

yarn watch

Bundle the example

yarn bundle

Start the example

yarn start

Publishing

yarn publish
0.3.12

4 years ago

0.3.11

6 years ago

0.3.10

6 years ago

0.3.9

6 years ago

0.3.8

6 years ago

0.3.7

6 years ago

0.3.6

6 years ago

0.3.5

6 years ago

0.3.4

6 years ago

0.3.3

6 years ago