Page tree
Skip to end of metadata
Go to start of metadata

Summary: this page describes how to view an object's source code


It is possible to view object source code direct in CAST Imaging. Source code is available in objects/links after a drill down from Level 5:

Click to expand

To view the source code of objects/links in CAST Imaging, a one-time configuration process is required first - see Configure the source code viewer.

Viewing source code


Right click the object after a drill down from Level 5 and choose Show source code:


Drill down from Level 5 and either:

  • double click the link
  • or right click the link and select Show source code:

Source code can also be accessed using the keyboard shortcut ALT+S.

Source code will be auto scrolled to highlighted object/link:

Code is collapsed by default and limited to 200 lines, click to expand in groups of 200 lines, then 100, 20 and any remaining under 10:

Where an object is represented in multiple files, all files will be shown:

You can also toggle colours using the gear icon:

  • Objects with over 7000 lines of code (LOC) will show only 500 lines above and below the item.
  • If access to source code is not configured, a popup message will be displayed:

  • If source code has been configured, but none is available for the current object (typically this is when the object is classed as "external to the application"), a different message will be displayed:

Viewing source code using a pop-up window

In versions  2.15, you may view the source code in a pop-up window using the pop-out icon.

Clicking on the pop-out icon lets you view the source code in a new pop-up window.

  • No labels