Concept : Understanding the Code Inspector
Contents |
[edit] Description
The Code Inspector is a modal dialog that provides a code-view of the Bungee Logic for your entire solution. The code inspector dialog is modal so that your view is always a correct representation of your application's current state.
The current implementation of the code inspector shows a first iteration of the changes coming to the Bungee Logic code format and syntax. This allows you to inspect the content of individual classes and their relationships within the projects that make up your solution in much greater detail than you previously could. You can now view the code down to the form level.
The code inspector's features include:
- Breadcrumb buttons—show your class navigation history
- Current Class links—use "dot through" to show the class you are currently viewing and the other classes you navigated by clicking the Class Member Details links
- Class Member Details links—provide a way to see the details of class members
[edit] Breadcrumbs
The breadcrumbs feature provides you with a solution navigation history. Each separate class within your solution that you navigate to with the code inspector is added to the left side of your breadcrumb history as a button as soon as you move into the next class. Clicking any one of those buttons causes that view to replace the class currently visible within the code inspector's viewing frame.
[edit] Dealing with Lengthy Breadcrumb Trails
As you browse through classes in large projects or solutions, breadcrumbs you browsed through earlier can be moved out of visible range. There are two buttons to help you with this predicament:
- Clear button—removes the entire breadcrumb toolbar (including the Clear and Inspect buttons).
- Inspect button—invokes a resizable dialog with your browsing history in a textual format. You can than more easily find an earlier class you want to review.
[edit] Current Class
The current class links that appear just below the breadcrumbs toolbar are active links that not only show you your navigation history as you inspect class member details, you can use them in the same way you do the breadcrumbs to access a previously viewed class.
[edit] Class Member Details
The Class Member Details links appear at the end of lines within a class where further details exist. For example, if you have a class member whose type is an object, you can inspect that members structure by clicking the link. You can also inspect classes that are inner classes such as adapters.