Skip to main content
Home Forums Silverlight Programming Visual Studio & Silverlight Development Tools Keeping XAML readable (was simple)
1 replies. Latest Post by pattormey on November 10, 2009.
(0)
dr d b k...
Member
60 points
113 Posts
11-05-2009 8:28 PM |
Dear Visual Studioer and Silverlighters;
How do I get Expression Blend/Visual Studio to write code MY WAY ?
Specifically, I would like to put each property assignment pair on a separate line,
and end it with closing >
Why are comments getting in the way <!-- -->;
Intellitype/sense keeps complaining.
My XAML lines are getting too long.
Setting a max line length in the code editor only seems to fold the line;
i would like to have it tabbed out even with the name tag.
cheers!
dr. K
pattormey
35 points
18 Posts
11-10-2009 6:15 AM |
Amazing how big XMAL can get!
You can get part way to your objective playing with the Tools->Options->Text Editors options.. I think the one you want is Pretty Print. It will allow the <cntrl>k <cntrl>d to reformat your document. It's also Edit->Advanced->Format Document
I saw it on a tip from Jesse Liberty but forgot which ones he recommended..