[Lazarus] CodeTools knowledge about a project - find a class

Ondrej Pokorny lazarus at kluug.net
Fri May 26 13:06:40 CEST 2017


On 26.05.2017 12:47, Graeme Geldenhuys via Lazarus wrote:
> I want to implement a Lazarus IDE feature "open type" - that's if it 
> doesn't already exist (please let me know). Imagine, you need to have 
> a look at the "TFoo" class. But, where is the "TFoo" class? Is it in 
> the "Boo" project or maybe in the Boo_tools.lpk package? Or somewhere 
> else (in a project search path)?
>
> I would like to be able to simply trigger the "Open Type" shortcut, 
> which shows me a dialog where I can type "Foo", and a listbox below 
> that will list all possible class matches with the name "Foo" (similar 
> to what the Procedure List dialog currently does. I can then simply 
> press Enter to select the first found option, or press the up/down 
> arrows to select another match and then press Enter, and it will take 
> me to the correct unit and class definition.

Please share this feature with us when you implemented it! I miss it as 
well (I do a simple Search in Files now).

Ondrej


More information about the Lazarus mailing list