Signature
Previously developed by the SharpDevelop team and used to sharpdevelop the refactoring plug-in in this open source IDE, "Nr6pack" was renamed "Refactoring Essentials" and was Hanselman called the "Web A compliment to Essentials "read the original text" to see Hanselman's introductory article, and I think the plugin will be one of the necessary plug-ins on visual Studio 2015 as well as Web Essentials.
Because it has the following refactoring function (HTTP://VSREFACTORINGESSENTIALS.COM/FEATURES/REFACTORINGS-CSHARP):
Code that prompts you to add a key in the dictionary
It prompts you to have mathematical expressions that compute constants exist
Prompts you to convert the enumeration bit comparison to use the Enum.hasflag method
Prompts you to change the direct conversion of the data type to safe conversion (using the AS keyword)
Prompts you to change the while loop to Dowhile loop
Responsible for comments from the base class
Create Changedevent
Convert Switch to If
It also brings the following code analysis functionality (HTTP://VSREFACTORINGESSENTIALS.COM/FEATURES/REFACTORINGS-CSHARP):
Using an array initializer instead of an array to create code
To convert closures to method groups
Converts the conditional ternary operator to a null-value connector
Converts the If judgment to an or expression
Provides recommendations for the use of nameof keywords
Check for text that cannot be resolved
Simplified three-dimensional operation expression of condition
The refactoring and analysis features above are only part of the example, in fact, this plugin provides 71 refactoring and 73 analysis features altogether. In addition, "Refactoring Essentials" has so many functions, fully benefited from the Roslyn powerful code analysis of the basic functions.
The above mentioned is the entire content of this article, I hope you can enjoy.