[lazarus] Find Declaration for used units

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Dec 16 09:29:16 EST 2001

Hi all,

I added Find Declaration for used units (e.g. 'uses Classes, Controls;').
Define a key or use the popupmenu in the source editor.

If you set the freepascal source directory in the environment->general options->files, lazarus will now find freepascal sources (classes.pp, sysutils.pp, ...). 
Currently the IDE scans the freepascal sources only at startup, so if you change the directory you must restart. I will change that the next week.

The codetools uses a few simple heuristics to build a define tree for the freepascal sources. This define tree contains the information, which can not be found in the sources (e.g. Makefiles). They are not complete, so plz write to the list, what sources can not be found or are parsed wrong and I will add the information.
Eventually I will write an editor for the define tree.


More information about the Lazarus mailing list