An error is triggered when accessing a type declared in a package which was not imported in the current scope.
Place the editor cursor on the error's line and
press Ctrl + 1, select the
Add ... to import ... from the list of quick fix proposals and press
Enter.
A
use clause is added before the enclosing element (entity, package, etc.) of the type access.
Note: When the missing type name is provided by multiple packages, all possible imports are proposed.
|