prodot / ReCommended-Extension

Code analysis improvements and context actions
Apache License 2.0
59 stars 11 forks source link

Add support for applying fixes to entire file, project, or solution #52

Open mvonballmo opened 4 years ago

mvonballmo commented 4 years ago

Observed

The Remove Annotation quick-fix only works for a single annotation at a time. To remove multiple in a file, you have to move to each individual instance and remove it.

Expected

The Remove Annotation quick-fix allows the user to apply it once, or to show the standard R# popup to apply it to the entire file, project, or solution.

michael-damatov commented 4 years ago

The "Remove Annotation" quick fix was originally intended to remove individual annotations only.

I do not make any promise, let me see how much effort it takes. Anyway, the earliest time frame is the next major release.

mvonballmo commented 4 years ago

Thanks for the quick reply. It's not critical, obviously, as I can just jump through the warnings. It would make the cleanup more powerful, though, and it feels like the whole apply to file/project/solution feature in R# is at least somewhat generalized. But I am not at all familiar with the inner workings of the R# plugin API, so ... what do I know?

I work with a colleague who uses Rider and doesn't have the benefit of Recommended, so his code is littered with superfluous attributes. :-)