Skip to content
This repository was archived by the owner on Feb 22, 2020. It is now read-only.
This repository was archived by the owner on Feb 22, 2020. It is now read-only.

withConnection triggers additional (undesired) registrations #41

Closed
@chrismwendt

Description

@chrismwendt

Through a string of calls through connect, initializeConnection, and registering capabilities, withConnection ends up registering hover/def/ref providers on top of what was already registered.

This combined with the fact that the Sourcegraph app calls all of the providers whenever the set changes caused an infinite loop in the Go extension while I was integrating lsp-client.

I see a couple ways to solve this:

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