You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alexander Liberov edited this page Aug 18, 2026
·
1 revision
Add Missing Units to uses (whole unit)
The whole-unit form of the undeclared-identifier quick-fix: resolves every
unresolved name in a unit at once and adds the units that declare them. Reach
for it after a large paste or a big refactor leaves several names unresolved.
--resolve-uses is what drives the add-missing-units behaviour; --project
and --platform scope the check; --shadow <dir> and --format are also available.
Reaching it in the IDE
drag-lint > Uses & Dependencies > Add Missing Units to uses (whole unit)...
What it needs
Optional. An index is not marked required, but resolving names to their
declaring units depends on what has been indexed.