cobol-check icon indicating copy to clipboard operation
cobol-check copied to clipboard

Make it more obvious what's boilerplate and what's code being tested

Open axtens opened this issue 2 years ago • 2 comments

Currently line numbers are not being used in columns 1-6. Can the code being tested have line numbers matching the line in the original, viz:

       boilerplate code 
000001 identification division.
000002 program-id. code-being-tested.
       more boilerplate code

Thus when gnucobol complains, the programmer can open the CC##*.cob file at the point of error and see the line number of the code being tested and be able to go back to the source at the matching line.

axtens avatar Jul 31 '22 23:07 axtens

That would be a great addition. I'll implement it when I've got the time. Currently you can have Cobol Check insert start- and end tags for injected code, in the form of comments. You can add it to the configuration file like this

dakaa16 avatar Aug 08 '22 08:08 dakaa16

Bump. Here we are almost two years later. Do you have any time yet?

axtens avatar Mar 21 '24 06:03 axtens