[Lazarus] Getting help for a type if its unit is not in uses

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Feb 6 00:24:42 CET 2014


On Wed, 5 Feb 2014 23:58:59 +0100
Reimar Grabowski <reimgrab at web.de> wrote:

> On Wed, 5 Feb 2014 21:55:07 +0200
> Juha Manninen <juha.manninen62 at gmail.com> wrote:
> 
> > >> Can we hope to someday get the feature that Lazarus adds the unit where a type/function/whatever is defined automatically to the uses clause when it is used for the first time (just like Eclipse does for Java imports)?
> > >
> > > Please define "automatically".
> Available types (Java standard, user defined or belonging to 'libs' in your class path) are shown in the code completion popup, also the package name where this type is defined. When choosing a type the corresponding import is added to your code.

Can you give an example how this should work in Lazarus?


Mattias




More information about the Lazarus mailing list