You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
Thanks.
The text was updated successfully, but these errors were encountered:
FALLAI-Denis
changed the title
COBOL - Possibility of not formatting certain parts of code
COBOL formater - Possibility of not formatting certain parts of code
Apr 10, 2024
FALLAI-Denis
changed the title
COBOL formater - Possibility of not formatting certain parts of code
COBOL formatter - Possibility of not formatting certain parts of code
Apr 10, 2024
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.
The text was updated successfully, but these errors were encountered: