You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
This is still work in progress. so there is not really a TS 2.2 plugin. you can follow the progress in #12231
mhegazy
added
API
Relates to the public API for TypeScript
Question
An issue which isn't directly actionable in code
Docs
The issue relates to how you learn TypeScript
labels
Jan 12, 2017
This issue has been marked as 'Question' and has seen no recent activity. It has been automatically closed for house-keeping purposes. If you're still waiting on a response, questions are usually better suited to stackoverflow.
TypeScript 2.2 will provide the capability to customize TypeScript tsserver commands with plugin.
Today it exists 2 plugins :
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 islanguageServiceHost
,languageService
andproject
)Could you tell me please the strategy for loading the plugin? How tsserver which plugins it must load?
Many thanks for your clarification!
The text was updated successfully, but these errors were encountered: