In this lesson, we will explore several key features of DFXray, including the library map that shows the structure of libraries in a workspace, the powerful search function with customizable filters, saving and loading workspace data as JSON files, and integrating DFXray with multiple Studio installations through the tools menu and registry settings. This enables efficient navigation and management across projects.
Open DFXray and Workspace
Launch DFXray and open the Trex 19 workspace.
Library Map View
Access the Library Map from the views menu.
Displays the hierarchical structure of libraries used in the workspace.
Shows which libraries depend on others.
If a referenced library file is missing, its line is bolded to indicate an error.
Searching Source Code (Control + F)
Use Control + F to open the search dialog in DFXray.
Enter search text (e.g., “move”) to find all hits starting from the current cursor position.
Press Control + F again to specify folders to search in, based on libraries in the workspace.
Narrow searches by limiting to specific packages or projects, such as web app or trex back office.
Options include:
Ignore case
Match whole words
Open results in a new window
Include or exclude comments (only line comments with //
, not block comments)
Option to restrict search to specific file types like web object files.
Search Navigation
Quickly jump to specific lines or perform new searches.
Search results are easy to navigate and use.
Save and Load Workspace Data
Save the current loaded workspace data to a JSON file.
JSON files can be re-opened later for reference or moved to another machine.
Studio Tools Menu Integration
DFXray can be added to the tools menu in multiple Studio installations centrally.
Instead of manually adding DFXray to each Studio, use the central installer in DFXray.
This writes data to the Windows registry, enabling DFXray in all selected Studios.
This creates a two-way navigation between DFXray and the Studio, improving workflow.
Final Remarks
You are now ready to use the full range of features DFXray offers for efficient workspace management and navigation.
DFXray is built and presented by Sture Andersen from Sture ApS.