Skip to content

Custom CSharp snippets for Visual Studio and extensions list for Visual Studio

Notifications You must be signed in to change notification settings

DepthRel/DevEnvironment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snippets

Space Shortcut Code Imported namespace Filename
AutoMapper am AutoMapper custom mapping - am.snippet
ami AutoMapper Ignore - ami.snippet
Console cwl Console.Write(); System Console.Write.snippet
crl Console.Read(); System Console.Read.snippet
cr Console.ReadLine(); System Console.ReadLine.snippet
dwl Debug.Write(); System.Diagnostics Debug.Write.snippet
dw Debug.WriteLine(); System.Diagnostics Debug.WriteLine.snippet
EntityFramework efprop EF property configuration - efprop.snippet
efstr EF string configuration - efstr.snippet
efone EF reference configuration - efone.snippet
Properties sj string.Join() - string.Join.snippet
sprop static auto property - sprop.snippet
propi init auto property - propi.snippet
rprop required auto property - rprop.snippet
Types itp int.TryParse() - int.TryParse.snippet
dtp double.TryParse() - double.TryParse.snippet
tp type.TryParse() - type.TryParse.snippet
parse type.Parse() - type.Parse.snippet
sctor static ClassName {} - sctor.snippet
typepat Type pattern - typepat.snippet
Wpf dp DependencyProperty... System.Windows dp.snippet
inpc INPC implementation System.Runtime.CompilerServices inpc.snippet

How to use:

  1. Download files with snippets from this repository
  2. Open Visual Studio
  3. Find menu "Tools" and click to "Code Snippets Manager..." or push keys Ctrl+K + Ctrl+B
  4. In Code Snippets Manager push button "Import..." (or push button "Add")
  5. Select downloaded files
  6. Click "Ok"
  7. Try to use the code snippets using the hotkeys shown in the table above
  8. Enjoy!

About

Custom CSharp snippets for Visual Studio and extensions list for Visual Studio

Topics

Resources

Stars

Watchers

Forks