codefori / ileditor2-issues

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

Feature: Visual Aid for Fixed Format Code #92

Open ciaramejia3 opened 4 years ago

ciaramejia3 commented 4 years ago

Is your feature request related to a problem? Please describe. Hi guys! This would be an enhancement for fixed formatted code.

Describe the solution you'd like Something that has been requested by one of our developers is a way to define, through a visual aid, displayed in some kind way of brackets or lines beside the line numbers that showed you where an IF statement begins and ends. This would be done for fixed formatted code. Free format gives you indentations and even though this cannot be done through fixed, maybe there's another way to give some kind of visual aid.

Additional context

image

worksofliam commented 4 years ago

Cool idea. Might be possible with monaco. I will do some investigating.

connorholyday commented 4 years ago

I think it's something to do with the language support, defining certain tokens will give these sections and also allow code folding

SJLennon commented 3 years ago

@ciaramejia3 FWIW: If this isn't easy to do, the compiler will quite happily do it for you on the compile listing. You just next to specify CRTBNDRPG INDENT(' |') when compiling.

I used this extensively in the distant past when SEU was the only game in town--I had a heap of trouble finding any fixed format RPG to get this sample listing: image `