How can I make Visual Studio default to View Source when you double-click the Form1.cs. I prefer to make View Source the default of double-click than View Designer.
+3
A:
Right click a form file and click "Open With...". Pick your desired designer to open as default (in this case "CSharp Editor" or "Microsoft Visual Basic Editor") and click "Set as Default". Voila.
Chris Hynes
2009-03-11 03:14:51
+6
A:
Right click the file in the Solution Explorer, choose "Open With...", select the CSharp Editor, and click the "Set as Default" button.
Paul Stovell
2009-03-11 03:14:54
I never even considered using "Open With...", my eyes always went straight to "View Code" when I right click. To think it was right there in front of me the whole time. This was one of my biggest peeves with Visual Studio.
toast
2009-03-11 03:24:51
Solid answer to an annoying problem.
JL
2010-06-01 11:35:26