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:

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