Predefined Surround Templates for VB.NET
This topic lists all predefined surround templates for VB.NET in JetBrains Rider 2017.3. For more information about surround templates, see Surrounding Code Fragments with Templates
Template | Details |
---|---|
If | Put the selection into the statement block following Scope VB.NET 8+ statements Body If $END$ Then
$SELECTION$
End If Parameters
Before expansion |
If..Else | Put the selection into the statement block following Scope VB.NET 8+ statements Body If $COND$ Then
$SELECTION$
Else
$END$
End If Parameters
Before expansion |
SyncLock | Transform the selection into the Scope VB.NET 8+ statements Body SyncLock $END$
$SELECTION$
End SyncLock Parameters
Before expansion |
Using | Put the selection into the Scope VB.NET 8+ statements Body Using $END$
$SELECTION$
End Using Parameters
Before expansion |
tc | Wrap the selection into the Scope VB.NET 8+ expressions Body TryCast($SELECTION$, $TYPE$) Parameters
Before expansion |
ct | Transform the selection into the first parameter of the Scope VB.NET 8+ expressions Body CType($SELECTION$, $TYPE$) Parameters
Before expansion |
dc | Transform the selection into the first parameter of the Scope VB.NET 8+ expressions Body DirectCast($SELECTION$, $TYPE$) Parameters
Before expansion |
namespace | Add a namespace to the selected code Scope VB.NET 8+ types or namespaces Body Namespace $END$
$SELECTION$
End Namespace Parameters
Before expansion |