Visual Studio

Visual Studio

Smart Paste Add-In for Visual Studio 2008

Say you need to paste a chunk of XML (or WKT) into Visual Studio as a string literal (for your unit tests, or what not). How would you do it? In C# string literals can be represented in two ways: C# supports two forms of string literals: regular string literals and verbatim string literals. A regular string literal consists of zero or more characters enclosed in double quotes, as in "hello", and may include both simple escape sequences (such as \t for the tab character) and hexadecimal and Unicode escape sequences. ...

Awesome tip: make View Code default double click action on a WinForm control

Here is something I wish I'd known years ago - you can make the "View Source" action default when you double click on a WinForm control. Here's how: Right click any Form/UserControl file, and choose Open With… Select CSharp Editor, then press Set as Default ???? Profit! That's it! Now you won't break the keyboard when you accidentally double click on your MainForm.cs file.

«March»
SunMonTueWedThuFriSat
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910