Monday, August 30, 2010

I hate it when Visual Studio is slow...

If you have ever coded a Wpf or Silverlight application using Visual Studio, you know what I mean by, it is slow to open a XAML file.

Well you can easily save yourself 30 minutes a day just by changing the default editor for XAML files in Visual Studio.  Here is how:

  1. Open a solution in Visual Studio.
  2. Right click on a .xaml file in the Solution Explorer.
  3. Choose "Open With..." from the menu.
  4. Find "Source Code (Text) Editor" in the list and click it.
  5. Now click the "Set as Default" button and choose OK.
Now whenever you double-click on a .xaml file it will open in the Code Editor.

NOTE: This is not the same as "Always open documents in full XAML view" because that option still parses the document and hangs VS for 30 seconds every time you open a file.

Have fun saving time!

Jake

No comments:

Post a Comment