MyTechEd #2 - Visual Studio Tips and Tricks

Posted on Friday, August 14, 2009 by Nicki

Presenter: Mike Palermo


The session started off a bit rocky due to the fact that Mike's laptop and the projector did not want to go to a higher resolution than 640x480 or800x600, can't remember, all I know it was big and not a lot fitted on the screen. It was really unfortunate, as it was a great session.

One of the nice things we were shown was how to create your own code snippets.
Snippets are XML documents, so they can be created/edited easily. The standard code snippets are stored in Program Files\Microsoft Visual Studio 9.0\VC#\Snippets\1033\Visual C# for C#, so you can copy one from there to My Documents\Visual Studio 2008\Code Snippets\Visual C#\My Code Snippets and edit it to your liking, obviously changing the Title and Shortcut values.

Look here for a snippet editor.

Other usefull tips were Prevent Copy on Blank Line and Toggle Clipboard. I'm not going to post every tip here, so please see Mike's speaker notes here.

Link to presentation: download here

0 Responses to "MyTechEd #2 - Visual Studio Tips and Tricks":