Statements

Commands in the Statements category.

Assign (CSharp)

Creates an assigment statement in the form _varname = varname usefull in constructors.
Usage: <field_name> a

IfSurround (CSharp)

Surround selected text with IF statement. If an argument is supplied, it will be used as condition.
Usage: (Select Text) [condition] if

IfElseSurround (CSharp)

Surround selected text with IF ELSE statement. If an argument is supplied, it will be used as condition.
Usage: (Select Text) [condition] ife

ElseSurround (CSharp)

Surround selected text with ELSE statement.
Usage: (Select Text) [condition] el

TryCatchSurround (CSharp)

Surround selected text with a TRY CATCH statement.
Usage: (Select Text) tc

TryCatchFinallySurround (CSharp)

Surround selected text with TRY CATCH FINALLY statement.
Usage: (Select Text) tcf

UsingStreamReader (CSharp)

Generates code for using StreamReader.
Usage: usr

UsingStreamWriter (CSharp)

Generates code for using StreamWriter.
Usage: usw

UsingSurround (CSharp)

Surround selected lines with USING statement. If an argument is supplied, it will be used as resource.
Usage: (Select Text) [resource] us

Assign (VB.NET)

Creates an assigment statement in the form _varname = varname usefull in constructors.
Usage: <field_name> a

IfSurround (VB.NET)

Surround selected text with IF statement.
Usage: {SELECT TEXT} if

IfElseSurround (VB.NET)

Surround selected text with IF ELSE statement.
Usage: {SELECT TEXT} ife

TryCatchSurround (VB.NET)

Surround selected text with a TRY CATCH statement.
Usage: {SELECT TEXT} tc

TryCatchFinallySurround (VB.NET)

Surround selected text with TRY CATCH FINALLY statement.
Usage: {SELECT TEXT} tcf

Categories