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

Log warning when returned code action will be dropped #55090

Merged
merged 3 commits into from
Jul 26, 2018

Conversation

mjbvz
Copy link
Contributor

@mjbvz mjbvz commented Jul 25, 2018

Fixes #54803

Logs a warning when a code action provider returns a code action that will be dropped. Warn when:

  • A provider returns code actions (not commands)
  • And a specific kind of code actions is requested.
  • And the returned code action either don't set kind or is of the wrong kind

Fixes microsoft#54803

Adds a loggin warning when a code action provider returns code actions that will be dropped. Warn in the the following cases:

- A provider returns code actions (not commands)
- And a specific code action type is requested.
- And the returned code actions either don't set kind or are of the wrong kind
@mjbvz mjbvz self-assigned this Jul 25, 2018
@mjbvz mjbvz requested a review from jrieken July 25, 2018 19:55
@mjbvz mjbvz added this to the July 2018 milestone Jul 25, 2018
@mjbvz mjbvz merged commit 341013c into microsoft:master Jul 26, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 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.

Unable to get quick fixes in problems view to work
2 participants