Qualify imports
The qualify imports tool can be used to reformat .4gl source modules to automatically add module prefixes to all imported symbols that are not yet qualified.
The qualify imports tool is provided as part of the fglcomp compilation tool. Genero Studio provides an interface to the compilation tool through the use of menu options and preference settings. In order to gain a thorough understanding of the qualify imports tool, it is recommended that you review the IMPORT FGL module topic in the Genero Business Development Language User Guide.
When in Code Editor
When editing a file in Code Editor, select
. Module prefixes appear on all imported symbols that are not yet qualified in the open document.From the File Browser
- Select one or more files. To select multiple files, hold the CTRL key.
- Right-click to open the context menu.
- 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 to open the context menu.
- Select .
- 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.