Mnemonic Live Templates

The next plugin we would like to recommend is the Mnemonic Live Templates for C# and VB.NET.

It provides a set of incredibly useful live templates that generate code using structured abbreviations.

You can use c for creating classes, i for interfaces, m for methods, v for fields, and p for properties. By using a capital letter, you can create static objects.

You can also specify a return type with a second letter. For example, pi will create a property that returns int, ps will return string, pby will return byte, and so on.

By using the ~ sign, you can specify collections as return types. For example, p~s will create a property that returns a collection of strings.

Really awesome, isn't it?

Using these templates is very intuitive, ...

Get ReSharper Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.