Collection of useful snippets for fast coding.
C#
| Snippet |
Purpose |
| class |
Create C# Class |
| class-with-constructor |
Create class with default constructor |
| interface-public |
Public interface |
| iprop |
Interface property |
| iprop-get |
Interface property get only |
| method |
Method with no arguments |
| method-1 |
Method with 1 argument |
| prop |
Property |
| prop-get-only |
Property get; Only |
| smethod |
Static Method with no arg |
| smethod-1 |
Static Method with 1 arg |
| smethod-extension |
Static Extension Method |
ESNext / TypeScript
| Snippet |
Purpose |
| imp |
Import default module |
| imp-shared |
Import module from shared export |
| exp |
Export default module |
| exp-shared |
Export default module as shared |
| exp-* |
Export all modules |
React / TypeScriptReact (.js, .tsx)
| Snippet |
Purpose |
| r-comp |
Stateless component boilerplate |
| r-class |
React class boilerplate |
React-Native / TypeScriptReact (.js, .tsx)
| Snippet |
Purpose |
| rn-comp |
Stateless component boilerplate |
| rn-class |
React Native class boilerplate |
More snippets and language will be add on upcoming releases.
| |