-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
QuestionAn issue which isn't directly actionable in codeAn issue which isn't directly actionable in code
Description
TypeScript 2.2 will provide the capability to customize TypeScript tsserver commands with plugin.
Today it exists 2 plugins :
- A plugin for Angular2 => https://github.com/angular/angular/tree/master/modules/%40angular/language-service
- A plugin for tslint => https://github.com/angelozerr/tslint-language-service
I'm trying to implement tslint plugin like Angular2 plugin, but it should be cool if we could have a guide like "How to implement TypeScript plugin". For instance I have noticed that Angular2 plugin waits a method create(info: ts.server.PluginCreateInfo)
. Could you specify please which properties contains ts.server.PluginCreateInfo (it seems that there is languageServiceHost
, languageService
and project
)
Could you tell me please the strategy for loading the plugin? How tsserver which plugins it must load?
Many thanks for your clarification!
Metadata
Metadata
Assignees
Labels
QuestionAn issue which isn't directly actionable in codeAn issue which isn't directly actionable in code