Skip to content

Support Client capabilities implementing ConnectedCapability<> multiple times #133

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 4, 2019

Conversation

bjorkstromm
Copy link
Member

typeof(WorkspaceSymbolCapability),
typeof(ExecuteCommandCapability),
};
private static readonly Type[] Capabilities = typeof(ClientCapabilities).Assembly.GetTypes()
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought it was better to load these via reflection, as the tricky ones where missing in the static list (e.g. SynchronizationCapability).

Copy link
Contributor

@gep13 gep13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Member

@david-driscoll david-driscoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@david-driscoll david-driscoll merged commit 35106df into OmniSharp:master Apr 4, 2019
@bjorkstromm bjorkstromm deleted the feature/GH-132 branch March 9, 2020 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants