Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
Navigating Xaml Resources with ReSharper

Most of our WPF projects end up with a lot of xaml resources. I do my best to try to keep them organized and easy to navigate. In many ways though, I am still learning .

I often have a resource dictionary containing all of my default styles for a given application.  When I collapse everything, the nodes all look the same:

<Style...>

And that does not help me find anything quickly. So I began prefixing them with comments:

<!-- TextBlock -->
<Style...>

Ok, that's a little better but it increasing the noise. It is just repeating information that is already there.

It had not yet occurred to me to try to use ReSharper's Find Member command [R#: Ctrl+F12]. It brought up the following list:

ReSharper rocking my xaml

In case you don't know how to interpret that, it's showing the TargetType attribute for each of the style elements. That is awesome.

Keep on rocking me ReSharper!


Posted 10-27-2008 4:04 PM by Christopher Bennage
Filed under: , ,

[Advertisement]

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Subscribe
Google Reader or Homepage

del.icio.us CodeBetter.com Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl CodeBetter.com Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of Devlicio.us
Red-Gate Tools For SQL and .NET

NDepend

SlickEdit
 
SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
LiteAccounting.Com
DevExpress
Fixx
NHibernate Profiler
Unfuddle
Balsamiq Mockups
Scrumy
JetBrains - ReSharper
Umbraco
NServiceBus
RavenDb
Web Sequence Diagrams
Ducksboard<-- NEW Friend!

 



Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers

 

Community Server (Commercial Edition)