Is there a way to modify the correct indention in Architect? It works really well for aligning variable definitions but i'd like to change how it aligns queries.
DEFINE VARIABLE UserName AS CHARACTER NO-UNDO.
DEFINE VARIABLE UserPassword AS CHARACTER NO-UNDO.
becomes
DEFINE VARIABLE UserName AS CHARACTER NO-UNDO.
DEFINE VARIABLE UserPassword AS CHARACTER NO-UNDO.
but i'd like to change
FOR EACH Car WHERE
Car.CarDesc BEGINS "Red"
NO-LOCK:
END.
from doing this
FOR EACH Car WHERE
Car.CarDesc BEGINS "Red"
NO-LOCK:
END.
to doing this
FOR EACH Car WHERE
Car.CarDesc BEGINS "Red"
NO-LOCK:
END.
Hello
OpenEdge Architect currently does not provide ability to customize indentation. This ability to customize indentation feature is on OEA roadmap and I would recommend you to enter an ERS for this and vote on it. Thanks.
Regards
Sunil.
Thanks for the quick response!!
And I'll like it to change it to:
FOR EACH Car WHERE Car.CarDesc BEGINS "Red":U NO-LOCK:
END.
I submitted ERS #0000003969 for this functionality.
Hello,
Has any progress been made re this matter? Since the ERS is down I can't find any way to find more information on this issue, and I'd really, really like to find out what its status is. (And I would REALLY like to find out that the status is that there is now some way to customise the indentation...)
Regards,
Tina
And I would prefer:
for each Car no-lock
where Car.CarDesc begins "Red"
and Car.Something = 5
:
One needs to include the multiple conditions to have a complete specification. Some like the connector at the end. I prefer it at the beginning. Putting the lock next to the table is much clearer and keeps one out of various kinds of ambiguity.
The refactoring to add the :U is really a refactoring task, not an indentation task. So is putting the lock phrase in the right place.