Refactor! for Visual Basic 2008
Refactor! for Visual Basic 2008 is a free plug-in from Developer Express Inc., in partnership with Microsoft, that enables Visual Basic developers to simplify and re-structure source code inside of Visual Studio 2008, making it easier to read and less costly to maintain. Refactor! supports more than 30 individual refactoring features, including operations like Reorder Parameters, Extract Method, Name Anonymous Type and many more!
.png) | |
Simplify Your Visual Basic Code
More and more developers are recognizing that simple, easy-to-read code is the key to application flexibility and easy maintenance. Managers are realizing that easy maintenance means low cost maintenance. If you know in your heart that parts of your code base could be better, but uncertainty about maintenance cost or concerns over breaking code have kept you from cleaning up your house, then Refactor! is for you. Refactor! vaporizes barriers to code simplification, dramatically reducing the cost traditionally associated with improving, simplifying, and refactoring existing code.
- To perform an extract method, just select the block of code you want to extract, and press the Refactor Key.
- To reorder parameters, place the cursor on the type of the parameter and press the Refactor Key.
- To create a method overload, place the cursor at the start of the method declaration and press the Refactor Key.
- To reverse a conditional or replace a nested conditional with a guard clause, place the cursor on the "if" keyword and press the Refactor Key.
.jpg)
No other code simplification and refactoring tool is able to provide so much functionality with just one key. Refactor! is the only refactoring and code simplification tool with one-key refactoring.
Say Goodbye to Modal Speed Bumps
Developers need tools that help them concentrate on producing code. Complex modal user interfaces, code preview windows, and distracting popup dialogs are simply speed bumps designed to slow you down. With Refactor!, nothing gets between you and your code. All Refactor! UI is grafted onto the surface of the editor.
So if you need to reorder parameters to a method, you'll actually see the parameters move in the code.
.jpg)
Refactor! is the only refactoring and code simplification tool to ship without any modal interface to slow you down.
Cut and Paste Refactoring
Much of refactoring is simply about moving code from one location to another. Only Refactor! exploits the clipboard to allow you to initiate refactorings simply by cutting from one location and pasting at a target location.
Let's say you need a new, small method derived from a chunk of a large, unwieldy beast of a method. You know what we're talking about. These juggernaut spaghetti code blocks can strike fear into the hearts of even the bravest and most highly-skilled coders. Well, stop trembling because it's time to divide and conquer! Simply cut out a chunk from the big method and paste it where you want the new method to appear. It's so simple you'll be slaying monsters in your code right and left without breaking a synaptic sweat.
.jpg)
Refactor! is the only refactoring and code simplification tool to use cut and paste as an entry point to refactoring.
Refactoring Smart Tags
While you work, Refactor analyzes the code, looking for opportunities to simplify. When a refactoring is available, you'll see a refactoring smart tag appear below the identifier at the caret or near the selected code block. When a refactoring is available, a smart tag appears. Clicking on this smart tag produces a menu and refactoring tip like this:
.jpg)
Just click the smart tag to see which refactorings are available.
Supported Refactoring Operations
The free version of Refactor! for Visual Basic supports the following refactoring operations:
- Reorder Parameters
- Extract Method
- Extract Property
- Create Overload
- Surrounds With
- Encapsulate field
- Reverse Conditional
- Simplify expression
- Introduce Local
- Introduce constant
- Inline Temp
- Replace Temp with Query
- Split Temporary Variable
- Move initialization to declaration
- Split initialization from declaration
- Move declaration near reference
New Refactoring Operations for 2008!
In Refactor! For Visual Basic 2008, you’ll find additional refactoring operations that add to the already great Refactor! experience. Many of these new operations are associated with new Visual Studio 2008 features such as LINQ.
- Create With Statement
- Extract Interface
- Inline With Statement
- Introduce Parameter
- Method to Property
- Property to Method(s)
- Remove Unused Parameter
- Widen Scope
- Extract XML Literals to Resource
- Make Explicit
- Make Explicit (and Name Anonymous Type)
- Make Implicit
- Move Type to File
- Name Anonymous Type