Speed up your development day

by Andrew Jackson 10. August 2007 11:05

One thing that seems to be a bit hidden to most developers is that opening files within Visual Studio works the same as opening them within a standard file explorer window in that you can specify the default way of opening a file.

This is particularly useful for forms/user controls in that 90% of the time you'll want to dive straight into the code, not go into the form designer even though Visual Studio defaults to opening the form designer which takes an age if you have lots of controls on your form.

To change the default is easy, this example will illustrate changing a VB form from the designer to the code editor.

  • Right click on a form within the Solution Explorer window and select Open With...
  • A dialog appears listing applicable editors within Visual Studio you can use.
  • Select Microsoft Visual Basic Editor
  • Click the Set As Default button.

And that's it, from now on every time you double click on a VB form you'll bring up the code window rather than the designer.

The association is for the whole of Visual Studio, regardless of solution/project loaded.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Development | Productivity | VB.net

Comments

Comments are closed

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen

About Me

Andrew Jackson

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2008,2009 Andrew K. Jackson

RecentComments

Comment RSS