Viewing Diagnostic Messages In-Line

The source code for the selected file is displayed in the Editor in the center of the interface. Any diagnostic that is selected in the Analysis Results/Diagnostics panel is highlighted.

The diagnostics are marked in the Editor via icons on the left. These are color coded according to the diagnostic on the particular code line with the highest severity - red for Error messages, yellow for Warning messages, green for User messages, and blue for Information messages.

Information messages can be traced to their corresponding diagnostics within the editor.

When an icon is selected, a separate text box displays all associated diagnostic messages, with access to the Help.

Suppressed diagnostics which have been made visible will also be shown in the popup. The suppression type is displayed near the start of the message and the whole line of text is color coded:

  • Comment suppression (orange)
  • Pragma suppression (green)
  • Dashboard suppression (magenta)
  • Baseline suppression (violet)
  • Multiple of the above (red)

The Editor may be used to make quick changes to the source code for immediate reanalysis. The internal toolbar contains the typical editor features of Cut, Copy, Paste, Save, Refresh and Search.

The Search box can be focused by pressing Ctrl+F in the editor. If there are multiple matches in the editor, you can press Enter or Shift+Enter to navigate forwards or backwards through the results.

For more precise navigation, searches can be made case-sensitive. Each tab has a context menu available, on right-click, for the following file options:

  • Close
  • Close all
  • Close all but this
  • Save
  • Open containing folder
  • Copy file path
  • Reveal in Files Panel

The context menus have a state dependent menu item which will appear if:

  • Analyze - The file has been saved but has out of date or no analysis results
  • Clean File - Always available.
  • Save and Analyze File - The file has been modified in the editor.
  • Open Preprocessed <file name> - The preprocessed source has been generated for this file
  • Open Source <file name> - The file is a preprocessed source
  • Open Source Under Cursor <file name> - The file is a preprocessed source
To enable file preprocessing, see Generate Preprocessed Source For Analyze Files.

Use key combinations CTRL-Tab and CTRL-SHIFT-Tab to cycle forwards and backwards through the open files. CTRL-W closes the current tab.

If you wish to add suppressions to the source code, refer to the individual Helix QAC for C and Helix QAC for C++ component manuals.