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