Skip to main content

Expand Conditional (VB)

Converts the selected single line conditional statement to a multi line statement.

#Availability

Available from the context menus or via shortcuts:

  • when a single line conditional statement is selected.

#Example

If MyCondition Then TestMethod()

Result:

If MyCondition Then
    TestMethod()
End If

#Screenshot

rsExpandConditional

Note

This refactoring is the functional opposite of Collapse Conditional (VB).