Visual Studio 2005/2008 - Open code file instead of form

No comments

In VS when doubleclicking a form.cs file, default behaviour is to open Form Designer.

In my case most often I want to get to the code itself.

To set this as default:

Right-click the file in Solution Explorer and select Open With.

In the new window change to CSharp Editor  (or VB if that's your thing) in stead of CSharp Form Editor.

click Set as Default, OK and your good to go.

Next time you doubleclick a form it will default to code view.

PS. you can right-click - View Designer when you want to use that,

or click the View Designer-icon on top of Solution Explorer.

Posted via email from Henris blogg

No comments :

Post a Comment