-
Notifications
You must be signed in to change notification settings - Fork 32
Refactoring Code
At the moment Sharpen does not have any refactorings implemented. Refactorings are planned and will be implemented in the upcoming versions.
Meanwhile, for some of the Sharpen's recommendations, you can use built-in Visual Studio code fixes. To see if a corresponding code fixes exist, go to the part of the code the recommendation is pointing on, and look for the options given by the Visual Studio Bulb.
For example, for the Sharpen's suggestion "Use expression body for get-only properties" there is a corresponding built-in Visual Studio code fix, as shown on the image below.
Here are some additional examples of Sharpen's recommendations that have corresponding code fixes comming with Visual Studio.
Home
Why Sharpen?
Getting Started
Installing Sharpen
Analyzing Code
Inspecting Analysis Results
Refactoring Code
Contributing to the Code
Coded Guidelines
C# Suggestions
Running the Endgame
Endgame for v0.4.0
Endgame for v0.5.0
Endgame for v0.6.0
Endgame for v0.6.1
Endgame for v0.7.0
Endgame for v0.8.0
Endgame for v0.9.0
Endgame for v0.10.0