codefori / ileditor2-issues

A place where you can search and raise issues for ILEditor 2.
1 stars 0 forks source link

Feature: Free format conversion to check record length #118

Open DavidShears opened 4 years ago

DavidShears commented 4 years ago

Is your feature request related to a problem? Please describe. When using the "convert to free-format RPG" option the record length of the source member isn't being taken into consideration.

So, for example, I'm using a source file created via: CRTSRCPF SHEARSD/AUDITSRC 112 so I have a maximum record length of 100 characters.

If I try to convert the following eval statement into free-format it returns a single line, which won't fit within the 100 character confines.

image

image

This then means manually changing each statement to fit within the confines.

Describe the solution you'd like Ideally either a setting so I can change the maximum row length for free-format conversions, or something so that this is automatically handled (perhaps since the save/display have identified the maximum length the conversion could be fed that information?)

worksofliam commented 4 years ago

Hey David. This is an awesome idea.

I can look into this!