Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2001-12

Find Declaration for used units

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner

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.

Mattias

Reply by email