Apologies for the delay in the short series on
What's new in WPF 3.5 but I've been out of action working on a very cool project that you'll hopefully be hearing about soon. In the meantime, try this little tip.
If, like me, you prefer to hand craft your XAML (but you're not nuts enough to use Notepad) then you've probably found that Cider (the WPF designer built into Visual Studio) can sometimes get a little in the way.
Most of us have probably tried using the Visual Studio's XML editor for our XAML files but have yearned for Cider's intellisense which isn't available in the XML editor. If any of this rings a bell then you'll be pleased to hear that you can actually use the
Source Code (Text) Editor for your XAML files which will give you all the syntax highlighting and intellisense you've enjoyed from Cider without the designer window.

Just right click on a .xaml file and choose 'Open With' which will presnet you with the dialog shown above. You can even change the default using the Set Default button. Happy days.
Sure, Cider has it's uses and I wouldn't discount it entirely but if all you want is some intellisense for in a Xaml editor then this is the way to go.

Post By
Josh Twist
2:32 AM
08 Feb 2008
» Next Post:
New in WPF 3.5: 3. Enhanced Debugging Features
« Previous Post:
Powershell to test your XPath
Comments are closed for this post.
Posted by
Rob
@
08 Feb 2008
10:01 AM
Dude. You rock!
Posted by
Ryan Cromwell
@
08 Feb 2008
11:00 AM
That just made my day.
Posted by
Jan
@
11 Feb 2008
2:47 AM
Thanks! This was really helpful!
Posted by
Philipp
@
11 Feb 2008
6:48 AM
And there's still Kaxaml, which just rocks. I usually prefer it over VS2008 for quick XAML editing :)
Posted by
Nyi Nyi Than
@
11 Feb 2008
8:41 PM
Thanks for your tips. U save my time.
Posted by
Mike Brown
@
22 Feb 2008
7:38 AM
Or you could always just swap the designer and code view in Cider, then minimize the designer.
Posted by
Kavan
@
15 Apr 2008
8:27 PM
I've been using VS since it was born and I've been going crazy because the visual designer was killing IntelliSense after a while.
Now it is truly happy days.
Thanks,
Kavan