Generating Properties Using the prop Snippet in Visual Studio 2013

Saw a very cool way to generate properties in C# code from the //build conference, just by typing the word prop, but I didn’t know what key to press after the typing prop. I tried TAB and ENTER but they didn’t work. Turns out that you have to type TAB + TAB to get it to work. That is press TAB twice.

See here:

http://visualstudiomagazine.com/blogs/tool-tracker/2013/06/write-a-property-with-a-name-and-datatype.aspx

Advertisements
Tagged with: ,
Posted in Development
One comment on “Generating Properties Using the prop Snippet in Visual Studio 2013
  1. […] Generating Properties Using the prop Snippet in Visual Studio 2013 | Robert’s Spout.ToString(). […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: