Categories
.NET General WPF XAML

Announcing Pistachio – “WPF Resource Visualizer”

Pistachio - WPF Resource VisualizerI’m excited to be posting an early build of Pistachio for the WPF Community to get their hands on and try out. Pistachio is a utility I created with fellow Infragistics VDGer Tim Hussey. It’s pretty simple really, you just open a .csproj file with Pistachio and it identifies all resources defined within the project, then shows you which of those resources are used and where they’re used. It’s now a part of our project cycle – we use it to identify all stray resources and clean up our projects. It’s also great for getting a big picture understanding of your current resource structure.

We have plenty of ideas for making the overall experience better, but I’d love to get some feedback anyway. I’m currently using a xamCarouselListBox at the top of the window to display resource dictionaries. In mockups this approaches looks clean and nice, but in practice it doesn’t really cut it. Most of our resource paths are actually longer than the template for each item provides, so we start to see text colliding. I’m planning on moving the resource list to the left side of the page and possibly presenting it in a tree or vertical tab format. I want to reinforce the relationship between the active resource page and the grid of resources. Later posts will also incorporate usage visualizations courtesy of our new xamChart.

 So — download Pistachio and take it for a spin! Let me know if you love it or hate it (or if it doesn’t work for you).

17 replies on “Announcing Pistachio – “WPF Resource Visualizer””

Using Mac Design Tools to Produce XAML Deliverables for WPF and Silverlight …

As Silverlight and WPF adoption widens the interest by many development houses in having design deliverables…

Hi. This tool looks like it could grow into something very handy; but right now I fail to see the point. I mean, maybe I’m missing something, but I can’t even open up resources (like solidcolorbrush, lineargradientbrush) to see them. What sort of “visualizer” is this again? 🙂

Anyhow, viewing and editing things like colors visually in a resource editor would be great.

Hi,
when i run the tool i get an exception. 🙁
Is it compatible with 3.5? It was actually running before on my machine. Or is it because i installed the latest Version of Infragistics NetAdvantage recently?

I would really appreciate your help
Regards Nick

hallo,

pistachio is really nice, but if it is possible to open sln files with multiple projects in it, will i make easier to refactor wpf programms offline.

@Carsten — definitely agree with you here. Moving, editing, renaming and removing are on my list.

@Logan — the core point of the tool is to help you identify where resources live in your project and of those, which are used/unused.

@Nick — The public version of Pistachio has not been compiled against 3.5, but that should not affect the way it analyzes your .csproj files. Will try to look into this for you and get a new version posted soon. I added resource previews a while back and just haven’t published the latest version.

@Berni — Adding support for .sln files is also on the list… will hopefully get some time in the new year to take a fresh look at Pistachio and add to the list of features we all need/want.

[…] Pistachio WPF Resource Visualizer While this is not new it is still cool:  This tool allow you to load project files and it will list all the resources and where they are used.  I am uncertain how well this will work with .Net 3.5 sp1 – I would assume that it will but it may not pick  up an new features since 2007. […]

[…] Pistachio Pistachio is a utility I created with fellow Infragistics VDGer Tim Hussey. It’s pretty simple really, you just open a .csproj file with Pistachio and it identifies all resources defined within the project, then shows you which of those resources are used and where they’re used. […]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.