Skip to content
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

Take kind instead of edit in CodeAction ctor #41997

Merged
merged 1 commit into from
Jan 23, 2018

Conversation

mjbvz
Copy link
Contributor

@mjbvz mjbvz commented Jan 22, 2018

Changes the CodeAction constructor to take a kind instead of an edit. This makes the API more consistent IMO, as now both edit and command on CodeAction are set the same way

The CodeAction class is new for VS Code 1.20 so this is not an breaking API change

Changes the `CodeAction` constructor to take a kind instead of an edit. This makes the API more consistent IMO, as now both `edit` and `command` are set the same way
@mjbvz mjbvz requested a review from jrieken January 22, 2018 20:01
@mjbvz mjbvz self-assigned this Jan 22, 2018
@jrieken
Copy link
Member

jrieken commented Jan 23, 2018

I like

@jrieken jrieken merged commit 3da6978 into microsoft:master Jan 23, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Mar 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants