Refactorings for Loops and Blocks
Add Block Delimiters
This refactoring is only available in C#. Embeds a child statement inside brace delimiters. Before:
[C#]
if (files == null) files = Directory.GetFiles(_StartingFolder);
After:
[C#]
if (files == null) { files = Directory.GetFiles(_StartingFolder); }
Create With Statement
This refactoring is only available in Visual Basic. Creates a Visual Basic With statement for the specified instance within the selection. 
If more than one qualifying instance exists, a sub menu will allow you to select the instance to become the subject of the With statement.
Inline With Statement
This refactoring is only available in Visual Basic.
Inlines the object reference of a Visual Basic With statement into all dot-references.

Remove Block Delimiters
This refactoring is only available in C#. Removes unnecessary brace delimiters in C#. Before:
[C#]
if (files == null) { files = Directory.GetFiles(_StartingFolder); }
After:
[C#]
if (files == null) files = Directory.GetFiles(_StartingFolder);
|