Skip to content

How to implement TypeScript 2.2 plugin? #13436

Closed
@angelozerr

Description

@angelozerr

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 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

No one assigned

    Labels

    QuestionAn issue which isn't directly actionable in code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions