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

Flávio Etrusco flavio.etrusco at gmail.com
Wed Feb 5 23:24:25 CET 2014


On Wed, Feb 5, 2014 at 4:50 PM, Reimar Grabowski <reimgrab at web.de> wrote:
> On Wed, 5 Feb 2014 12:25:18 +0100
> Mattias Gaertner <nc-gaertnma at netcologne.de> 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)?
>
> R.

FWIW if you get an "identifier not found" error while compiling, the
context menu in the Message View has a "Search identifier" command. It
opens the Code Browser (which also could be much cleaner) and searches
the class. Then you can open the context menu for the unit found and
select "Use unit FOO in unit BAR".

-Flávio




More information about the Lazarus mailing list