@elyracode/lsp-typescript
v0.8.1
Published
TypeScript LSP integration for Elyra — semantic code navigation and diagnostics
Readme
@elyracode/lsp-typescript
TypeScript LSP integration for Elyra. Starts a typescript-language-server process per session and exposes semantic code navigation and diagnostics as agent tools.
Prerequisites
The project must have both packages installed:
npm install -D typescript typescript-language-serverThe extension looks for typescript-language-server in the project's node_modules/.bin/ first, then falls back to a global installation.
A tsconfig.json must exist in the project root. The extension does nothing if one is not found.
Installation
elyra install npm:@elyracode/lsp-typescriptAvailable Tools
| Tool | Description |
|------|-------------|
| lsp_definitions | Go to the definition of a symbol at a given file position |
| lsp_references | Find all references to a symbol across the project |
| lsp_diagnostics | Get TypeScript errors and warnings for a file |
| lsp_hover | Get type information and documentation for a symbol |
All tools accept 1-based line and column numbers and return human-readable text results.
