ZOE allows COBOL code to be formatted and formatting options can be specified in a zcodeformat file.
However, in our context, we do not want certain parts of the COBOL code to be reformatted: these parts are managed by tools that we have developed and which must find the COBOL code as it was implemented.
We would therefore like ZOE's COBOL formatting functionality to be able to exclude certain lines from its scope of intervention, according to two possibilities:
lines responding to a selection pattern expressed in the form of a regular expression, (allowing several regular expressions), in our case the presence of a character string pattern in columns 1 to 6, for example /^sq/
lines included in an area defined by a first line and a last line, again responding to a selection pattern expressed by regular expressions
Otherwise, or in addition, add an option to deactivate the formatting of the entire file, (Shift+Alt+F) and only authorize the formatting of the text previously selected, (Ctrl+K Ctrl+F).
Description of the enhancement requested
Hi,
ZOE allows COBOL code to be formatted and formatting options can be specified in a zcodeformat file.
However, in our context, we do not want certain parts of the COBOL code to be reformatted: these parts are managed by tools that we have developed and which must find the COBOL code as it was implemented.
We would therefore like ZOE's COBOL formatting functionality to be able to exclude certain lines from its scope of intervention, according to two possibilities:
/^sq/
Otherwise, or in addition, add an option to deactivate the formatting of the entire file, (
Shift+Alt+F
) and only authorize the formatting of the text previously selected, (Ctrl+K Ctrl+F
).Thanks.