September 24, 2007

Code Snippets

My Good old friend Prabath has just showed me the shortcut keys for the Code Snippets. I never tried code snippets before even though I knew its useful. I always prefer shortcuts keys when coding. I used macros most of the time, but now with some shortcut keys you can achieve the same task with code snippets.

How to generate a Property automatically using code snippets.
1. type prop and press the Tab key twice. And the Code for the Property will generate automatically. Use the Tab key to rename the variable names. Its that easy and simple.

links : http://www.codinghorror.com/blog/archives/000419.html