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 wrapping tsserver.
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-serverRunning the language server
typescript-language-server --stdioOptions
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 `3`.
--socket <port> use socket. example: --socket=5000
--tsserver-log-file <tsServerLogFile> Specify a tsserver log file. example: --tsserver-log-file=ts-logs.txt
--tsserver-path <path> Specifiy path to tsserver. example: --tsserver-path=tsserver
-h, --help output usage informationDevelopment
Build
yarn install
yarn build
yarn testWatch
yarn
yarn watchPublishing
npm install --global np
npx np