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 Edit > Qualify Imports. 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).

  1. Select one or more files. To select multiple files, hold the CTRL key.
  2. Right-click and select Qualify Imports.

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

You can qualify imports for one or more files or for all files within a group.
  1. Select one or more files and/or groups.
  2. Right-click and select Qualify Imports.
  3. 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.