Skip to content

TypeScrip: Support forward commands between ts plugin and ts server.  #146879

Closed
@Kingwl

Description

@Kingwl

We have issues: #119489 and PRs: #129382, #146608

And in the ts side. There's already implemented add custom handler in ts plugin via microsoft/TypeScript#44291.

I think It's better to register a builtin command such as forwardTsServer or others.
And with that, we can shell command in our own vscode extension to send some command into tsserver. And handle the command in ts plugin.
In this way, we can share the current ts program instance rather than create a new tsserver. And we can avoid tons of config/setup for the new tsserver which nearly no one can do that.

image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions