Recommended Reading

Misc

Commands in the Misc category.

Guid

Insert a new generated Guid. Optionally specify the format: 'N', 'D', 'B' or 'P'
Usage: [format] guid

ConsoleReadLine (CSharp)

Generates code Console.ReadLine();
Usage: <text> crl

ConsoleWriteLineSurround (CSharp)

Surround text with Console.WriteLine();
Usage: <text> cw

ConsoleWriteLine (CSharp)

Surround selected code with Console.WriteLine([Selection]);
Usage: <text> cw

CreateInstance (CSharp)

Generates a instance of the given type initilized with default values.
Usage: [type] ci

CreateInstanceRecursive (CSharp)

Generates a instance of the given type initilized with default values. Enumerate properties recursively.
Usage: [type] cir

InitializeThis (CSharp)

Initialize the current class with default values.
Usage: it

InitializeThisRecursive (CSharp)

Initialize the current class with default values. Enumerate properties recursively.
Usage: itr

IsNullOrEmpty (CSharp)

Generates String.IsNullOrEmpty(). Surround if text selected.
Usage: ine

NotIsNullOrEmpty (CSharp)

Generates String.IsNullOrEmpty(). Surround if text selected.
Usage: !ine

Public (CSharp)

Decorate current element (method, property, etc.) as public.
Usage: (Inside member) pub

Static (CSharp)

Decorate current element (method, property, etc.) as static.
Usage: (Inside member) st

StringFormatSurround (CSharp)

Surrounds selected text with String.Format().
Usage: (Select Text) sf

StringFormat (CSharp)

Generates String.Format(""); and position cursor inside the quotes.
Usage: (Select Text) sf

VariableInstance (CSharp)

Instantiate a local variable in de form: MyClass myClass = new MyClass();
Usage: <type> [name] i

SurroundCData

Surrounds selected text with [CDATA] xml escape.
Usage: (Select Text) cdata

SurroundTag

Surrounds selected text with an element tag.
Usage: (Select Text) name s

Categories