Salesforce

How Do I Find All Unused Expressions? (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Find All Unused Expressions? (Magic xpa 2.x)

Having extra expressions in your programs makes maintenance more difficult, so it is a good idea to keep them cleaned out. Fortunately, Magic xpa makes this easy.

Finding unused expressions

  1. Set Options->Settings->Environment->Preferences->Studio Checker Minimal Level to Warnings or Recommendations.

  2. Go to the program you want to check (or to the header line at the top of the Program repository to check all programs.)

  3. Press F8 (or Alt+F8 to check the entire repository).

  4. The warning screen shown above will appear for each unused expression. As each appears, you can decide:

    • To ignore this expression and go on to the next (click the Skip button).

    • To ignore all unused expressions (click the Skip All button).

    • To erase this expression (click the Erase button).

    • To go look at the expression (press Escape). This option stops the syntax check and brings you directly to the unused expression in the Expression Editor.

    • To erase all expressions (click the Erase All button).

In addition, the unused expressions will appear on the Checker pane.

Reference
Attachment 
Attachment