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, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access