New CodeRush Community Plugin – DX_RedundantAssignment

Over the last few weeks I’ve returned to writing plugins for a bit, and I think some of them have reached the point where they might be useful for people beyond myself.
This post, and the next few that follow it, are intended to just put these plugins out there and see what people think.

Feel free to post comments and feedback.

DX_RedundantAssignment

This first plugin is an example of how to build a simple Refactoring and CodeIssue and link them together.

This CodeIssue will alert you if you are assigning a variable to itself. Further, the CodeIssue provides a link to a Refactoring that will remove the assignment from your code altogether.

RemoveRedundantAssignmentCS_thumb2_t

The refactoring is of course available in it’s own right via your CodeRush\Refactor Key

RemoveRedundantAssignmentVBRefactori

Download DX_RedundantAssignment

Showcase Your Apps on DevExpress.com

Highlight your business app and share your development experiences with the DevExpress community. To include your app in our upcoming App Showcase, please forward an application screenshot to clientservices@devexpress.com and tell us which DevExpress products you currently use within your organization.
No Comments

Please login or register to post comments.