Flash Builder’s Lost Features: Call Hierarchy

Last week I had the pleasure to present to the first edition of gotoAndSki() conference, up north in Norway. During one of my sessions people said that it’d be a great thing if Adobe could present the Flash Builder new features in such a way that it makes easier to learn them. They suggested instead of just throwing big PDFs to the community, we could also have blog posts tackling one feature at a time. I think this makes sense; we are all too busy with current and upcoming projects to find the time to go through manuals.

So here I come and I start today a series of articles called Flash Builder’s Lost Features. Today I’ll present Call Hierarchy command. This command makes it easy to find all the places where a particular property/variable/function/method is used in your project. It works for ActionScript or Flex projects.

To use this feature, right-click the variable or method you are interested in and select Open Call Hierarchy.

When you do this, you should see in Flash Builder a new view (named Call Hierarchy) with all the occurrences of what you’ve selected. If you double-click an entry, Flash Builder will open the file where that entry can be found and you can inspect the code. Also, you can extend a node to see the call stack trace. And all of this can be done without having to run the project.

This is it for now. Like I said, it is a small and simple to use feature, but it is pretty powerful. In the next episode I will talk about Flash Builder’s Profiler.

7 thoughts on “Flash Builder’s Lost Features: Call Hierarchy

Leave a Reply