Skip to content

Add CodeActionOptions with providedCodeActionKinds#534

Merged
dbaeumer merged 1 commit intomicrosoft:gh-pagesfrom
Gama11:codeActionOptions
Aug 21, 2018
Merged

Add CodeActionOptions with providedCodeActionKinds#534
dbaeumer merged 1 commit intomicrosoft:gh-pagesfrom
Gama11:codeActionOptions

Conversation

@Gama11
Copy link
Contributor

@Gama11 Gama11 commented Jul 28, 2018

See here for the motivation: #389 (comment)

Corresponding vscode-languageclient PR: microsoft/vscode-languageserver-node#385

@dbaeumer
Copy link
Member

Adding this makes complete sense to me.

@dbaeumer dbaeumer merged commit 20d0cec into microsoft:gh-pages Aug 21, 2018
@Gama11 Gama11 deleted the codeActionOptions branch August 21, 2018 09:29
@dbaeumer
Copy link
Member

I renamed the property to codeActionKinds to make it consistent with the LSP naming. We never have provided in the capability name if the server provides something. The provide is already part of the top level naming (e.g. codeActionProvider)

@Gama11
Copy link
Contributor Author

Gama11 commented Aug 21, 2018

Make sense! My original naming was consistent with the VSCode API, but consistency with the LSP indeed seems more important.

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.

2 participants