Preferences of the Design and the Generated Code Structure views

These preferences, titled PDP framework, apply to the display in the Design and the Generated Code Structure views.

Parameterization of the Generated Code Structure
The option Always open the Generated Code Structure view when opening the PDP editor is selected by default. The nodes view systematically opens each time that you open the PDP editor, whatever the perspective. If this option is not selected, the nodes view does not automatically open when you open the PDP editor. So if you close this view in a perspective, it will no longer be open in this perspective. To display it, you will have to select if from Window > Show view.

The option Hide nodes owning the property "hidden" is selected by default. These nodes are created when the micropatterns that retrieve the parameterized operators in Macros are expanded. These nodes are then hidden by default in order not to clutter the nodes tree. However, you can display them to detect problems, if any.

The option Display the long labels of the nodes is selected by default. The nodes view then systematically displays the titles of the generated and specific functions and subfunctions. These titles are extracted from the comment that precedes the function or subfunction, without any irrelevant characters.

Design view font
You can select a character font in the list.
Character to use to better visualize the need for regeneration in the PDP Editor
You can select a special character (> # ~ + !) in the list. The default character is >.
This character indicates that the generated COBOL code is not synchronized with its design. It is displayed at two levels:
  • The title of the PDP COBOL editor tab,
  • The Design Explorer view, when you expand the link between the design file and the generated file. The character is displayed at the beginning of the generated file name, after the icon.

If a desynchronization is detected, a new generation of the instance is recommended.


Feedback