VS2015 free plug-in Refactoring essenessen, vs2015refactoring

Source: Internet
Author: User
Tags sharpdevelop

VS2015 free plug-in Refactoring essenessen, vs2015refactoring

Question:

Previously developed by the SharpDevelop team and used for SharpDevelop, the Refactoring plug-in "NR6Pack" in this open-source IDE was renamed as "Refactoring essen ", as Hanselman calls it a greeting to "Web tials" (read the original article to view Hanselman's article ), in my opinion, this plug-in will become one of the essential plug-ins on Visual Studio 2015 as "Web Essentials.

Because it has the following refactoring feature (http://vsrefactoringessentials.com/Features/Refactorings-CSharp ):

Code prompting you to add the dictionary key
Prompt that you have a mathematical expression for calculating constants.
You are prompted to convert the enumerated bit comparison to the Enum. HasFlag method.
Prompt you to change the direct conversion of data type to secure conversion (use the as keyword)
You are prompted to change the While loop to the DoWhile Loop
Comments from the base class
Create ChangedEvent
Convert Switch to If
The following code analysis feature (http://vsrefactoringessentials.com/Features/Refactorings-CSharp) is also available ):

Use the array initialization tool to create code in place of the array
Convert a closure to a method group
Convert conditional ternary operators to null Connector
Convert If judgment to Or expression
Suggestions for using the nameof keyword
Check if the text cannot be parsed
Simplified conditional ternary operation expression
The preceding refactoring and analysis functions are just some examples. In fact, this plug-in provides 71 refactoring functions and 73 analysis functions. In addition, the reason why "Refactoring Essentials" has so many features is entirely due to the powerful basic functions of Roslyn code analysis.

The above is all the content of this article. I hope you will like it.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.