Feature Request: Automatic uses clausules for missing types.

skybuck2000 <[email protected]> Mon, 6 Dec 2021 14:53:03 -0800 (PST)
Newsgroups alt.comp.lang.borland-delphi
Message-ID <[email protected]>
Example:

TAccount not found/missing identifier.

Compiler/IDE should search all units/files added to project and on search path.

If no conflict/only one found then look at unit. If interface section does not need TAccount then add found file automatically to implementation use clausule.

If interface needs it then add it to uses clausule in interface.

If there is a conflict because multiple files have TAccount = declared then ask user which one to use.

This feature would allow  to build software like lego blocks much faster.

Where records, classes, types can all be in there seperate unit without wasting the programmers time constantly having to add this to uses clausules, this can be automated !

interface
 
uses
   ...

implementation
  ...

... = automate this !

Bye,
  Skybuck.