[Lazarus] CodeTools commands question

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Jun 19 17:05:43 CEST 2018


On Tue, 19 Jun 2018 16:57:11 +0200
Vojtěch Čihák via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

>[...] Hi,
>  
> is there a CodeTool command that can take me directly to procedure/method implementation?
>  
> Example:
>  
> function TTreeNode.GetTop: integer;
> begin
>   if TreeView <> nil then
>     TreeView.UpdateAllTops|;  //<-- caret is HERE
>   Result := FTop;
> end;  
>  
> by default, Ctrl+Shift+Up and Ctrl+Shift+Down jump between declaration and implementation of TTreeNode.GetTop;
> Alt+Up takes me to declaration of TTreeNode.UpdateAllTops; and Ctrl+Shift+Up/Down takes me to its implementation.
>  
> I'm looking for a way to get to implementation of UpdateAllTops directly ( Alt+Down would be nice ).

Maybe this option helps: "Jump directly to method body"

http://wiki.lazarus.freepascal.org/IDE_Window:_Codetools_Options#Jumping_.28e.g._Method_Jumping.29



Mattias


More information about the Lazarus mailing list