Qualify Imports
Use the Qualify Imports tool to reformat .4gl source modules to automatically add module prefixes to all imported symbols that are not yet qualified.
The Qualify Imports tool is part of the fglcomp compilation tool
(fglcomp --qualify-imports
). For more information, see the
Qualifying imported symbols topic in the Genero Business Development Language User Guide.
From Code Editor
With the file open in the Code Editor,select
. Module prefixes appear on all imported symbols that are not yet qualified in the open document.From the File Browser
You can qualify imports from the File Browser (the Files view).
- Select one or more files. To select multiple files, hold the CTRL key.
- Right-click and select .
The selected files are processed and module prefixes are added to all imported symbols that are not yet qualified. For files currently open in Code Editor, it updates the opened files. For files that are not opened, it updates the files on disk.
From Project Manager
- Select one or more files and/or groups.
- Right-click and select Qualify Imports.
- A warning appears. Answer Yes to format and indent all files.
The selected files are processed and module prefixes are added to all imported symbols that are not yet qualified. For files currently open in Code Editor, it updates the opened files. For files that are not opened, it updates the files on disk.