Consultor Eletrônico



Kbase P124864: OpenEdge Architect does not automatically complete code blocks
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/30/2009
Status: Unverified

SYMPTOM(s):

OpenEdge Architect does not automatically complete code blocks

END statement not added automatically to DO,FOR, REPEAT or other block

FACT(s) (Environment):

Windows
OpenEdge 10.x
OpenEdge 10.2A

CAUSE:

This functionality is not implemented by default in the OpenEdge Architect Editors

FIX:

Add appropriate macros for the editor:

- Open the Window -> Preferences dialog
- Navigate to the OpenEdge Architect -> Editor -> Macros pane
- Add the new macros here.

The following is an example for an automatically completing DO block:

Name = DO:
Description = DO block auto-complete
Pattern =
DO %\c:
END.

With this macro set up and applied, if 'DO:' is entered in the editor it will expand to

DO :
END.

with the cursor placed just before the colon.