[402] Redundant explicit delegate creation!

I love the "Redundant explicit delegate creation" warning in 402! I've been
looking for such a refactoring for a long time. Good work, guys!

Would it be possible to apply this refactoring to all occurrences in the
same class, file, project or solution? That would rock.


2 comments
Comment actions Permalink

Hello,

Would it be possible to apply this refactoring to all occurrences in
the same class, file, project or solution? That would rock.


This is not a refactoring, but rather a quick fix.

Well, there's a number of quick-fixes and context-actions that make sense
applying to the whole file at once, but we have not come up with a decent
UI for that yet. That's the greatest problem of all with this feature, so,
if you by chance have gotten any ideas … ;)


Serge Baltic
Omea & R# Developer
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0
Comment actions Permalink

Well, there's a number of quick-fixes and context-actions that make
sense applying to the whole file at once, but we have not come up with
a decent UI for that yet. That's the greatest problem of all with this
feature, so, if you by chance have gotten any ideas . ;)


A low-impact solution would be additional menu items in the quick-fix popup
to widen the scope, then a dialog with File, Project, Solution options or
maybe submenu.

A higher-impact solution would be a window like the ToDo explorer that shows
all the warnings for the file along with the warning text, so it would be
more informative than the Warnings bar and afford more space to show quick
actions.


0

Please sign in to leave a comment.