Skip to content

LanguageServerHost.Instance is a static field we should move away from #5757

Open
@mikadumont

Description

@mikadumont

Right now when the LanguageServerHost is created, we set a static Instance property so a few other things can find it. That's pretty icky especially during startup since it's not really clear when other things can rely on it early in the launch process, as well as it makes unit tests a bit messy since it's not always clear if that's being set either. We should get rid of it.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions