typescript-plugin-util
Utilities for developing TypeScript Language Server Plugins
Install a Language Service Plugin easily:
Easy plugin installation
const serviceLanguageImplementation = getApplicableRefactors getEditsForRefactor
Instead of:
{ { infoprojectprojectServicelogger const proxy: ts.LanguageService = Object for let k of Object as Array<keyof tsLanguageService> const x = infolanguageServicek proxyk = x proxygetApplicableRefactors = getApplicableRefactors proxygetEditsForRefactor = getEditsForRefactor return proxy } return create }
API docs
TODO
- build "Incremental build support using the language services" from https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API so we can debug the whole experience in debugger instead of debugging using plugin manually in the editor!