Highlighted
Trusted Contributor.
Trusted Contributor.
679 views

Collapse/uncollapse if-statements in visual cobol for eclipse

It is possible to collapse/uncollapse sections in visual cobol for eclipse but I can't find a way to collapse if-statements.

It would enhance the overview of a program significally to be able to toggle complex if-blocks on and off.

Anyone that know a way to do this?

PI

Tags (1)
0 Likes
2 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Collapse/uncollapse if-statements in visual cobol for eclipse

Code regions are currently only defined automatically for COBOL divisions and sections including user-defined sections and paragraphs in the procedure division.

You can define your own collapsible regions by enclosing code within the $region and $end-region tags within your source so you could surround a complex if statement with these tags in order to hide it but this will not be done automatically.

If you open up a support incident with Customer Support then we could raise this as a possible enhancement request.

Thanks
Highlighted
Trusted Contributor.
Trusted Contributor.

RE: Collapse/uncollapse if-statements in visual cobol for eclipse

Thank you for your answer, Chris.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.