Refactorings

Simplify and improve your code with ease
Refactorings

Rename

Allows you to quickly change the name of namespaces, types, methods, fields and practically every type of code you write. The operation replaces all references in code, as well as in comments and string literals (optional). View demo

Introduce Variable

Introduce a new variable from an existing one; use an existing constant to introduce a new variable; use an existing expression to introduce a new variable. Additionally, you will get a drop-down suggesting several names based on the code you have selected. View demo

Introduce Field

Allows you to quickly create a new field from a selected constant expression and initialize it with the expression. Additionally, a dropdown suggests several names based on the code you have selected. View demo

Extract Method

Allows you to reorganize your code for better reuse and readability by creating a new method based on a selected code fragment. By analyzing the selected code JustCode creates a new method that contains the extracted code and replaces it in the existing member with a call to the new method. Available for C#, VB.NET and JavaScript. View demo

Organize And Add Missing Usings

Helps you to easily sort, remove unused and add missing using directives. View demo

Extract Interface

This refactoring allows users to quickly create a new interface based on an existing interface or class. JustCode analyses the type and detects the members and methods that can be converted. After extraction, the original type inherits from the new interface. View demo

Convert Property To Methods

The Convert Property To Methods refactoring allows you to easily convert a property to method (or two methods if there are both getter and setter). View demo

Move Type To Namespace

The Move Type To Namespace refactoring allows you to quickly move a type from one namespace to another View demo

Convert Interface To Abstract Class and vice versa

With these refactorings you can easily convert an abstract class to an interface and vice versa for C# and VB.NET. View demo

Pull Member to Base Class

When you execute this refactoring for a member of a given type, JustCode will move it to the base type along with the other private members it is using (if they are not used by other members). View demo