SnippetEssentials
SnippetEssentials copied to clipboard
[deprecated] Snippet Essentials has evolved into Snippetica
[deprecated] Snippet Essentials
IMPORTANT: Snippet Essentials has evolved into Snippetica.
- Snippetica is virtually the next version of Snippet Essentials.
- Snippetica supports more languages and it has better documentation.
- Snippetica is available for Visual Studio 2017.
Introduction
- Snippet Essentials is an ultimate collection of 700+ snippets for C#.
- Snippet Essentials is distributed as Visual Studio Extension.
Links
List of Selected Snippets
Declaration
Keyword
| Title | Shortcut |
|---|---|
| Default keyword | d |
| Object keyword | o |
| Override keyword | xo |
| Private keyword | xp |
| Public keyword | x |
| Return keyword | r |
| Static keyword | xs |
| String keyword | s |
Miscellaneous
Operator
| Title | Shortcut |
|---|---|
| Conditional operator | co |
| Explicit cast operator | t |
| Nameof operator | no |
| Typeof operator | to |
PreprocessorDirective
| Title | Shortcut |
|---|---|
| #if #else preprocessor directives | ppife |
| #if preprocessor directive | ppif |
Statement
System
XmlComment
| Title | Shortcut |
|---|---|
| Xml comment for a class constructor | xccc |
| Xml comment for property | xcp |
| Xml comment for read-only property | xcrp |
Location
Snippets are installed to the following directory: \AppData\Local\Microsoft\VisualStudio\VISUAL_STUDIO_VERSION\Extensions\EXTENSION_FOLDER