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

Improve FixAll support by using equivalence key when available #884

Merged
merged 1 commit into from Dec 2, 2020

Conversation

JoeRobich
Copy link
Member

While investigating the fixes for these blank line StyleCop rules (#67 (comment)), I saw format was reporting no fixall action returned from the provider. Investigating the StyleCop repo it seemed that an action should be returned. After verifying that the VS Code C# extension could apply a solution fixall for those diagnostics, I looked for differences in implementation. It seems necessary to provide the equivalence key for some fixall providers.

@JoeRobich JoeRobich merged commit 8fe6083 into dotnet:master Dec 2, 2020
@jmarolf
Copy link
Contributor

jmarolf commented Dec 2, 2020

@JoeRobich do we want to try and use the IDiagnosticAnalyzerService so we don't need to re-implement the set of things codefixes need?

@JoeRobich JoeRobich deleted the improve-fixall-support branch March 5, 2021 21:03
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.

None yet

2 participants