* * *

Author Topic: Ctrl-click jumps to the declaration, not implementation. Fixable?  (Read 309 times)

Artlav

  • New member
  • *
  • Posts: 27
    • Orbital Designs
When i ctrl-click a procedure's name in code, the editor would jump to the procedure's declaration in the interface section of the relevant unit (when it's in another unit), which is supremely useless.
Is there a way to make it jump to the actual procedure on ctrl+click, like it does in Delphi?

Only thing i can find is two-step - pressing ctrl+shift+down after ctrl-click got you to the interface, which is kinda unwieldy. I would have liked a more direct method.

Pascal

  • Sr. Member
  • ****
  • Posts: 444
Re: Ctrl-click jumps to the declaration, not implementation. Fixable?
« Reply #1 on: May 29, 2017, 04:11:53 pm »
Mark "jump directly to method body" in "Tools/Options..." Codetools.
laz trunk - fpc trunk 32bit - Windows 10 Pro x64

Artlav

  • New member
  • *
  • Posts: 27
    • Orbital Designs
Re: Ctrl-click jumps to the declaration, not implementation. Fixable?
« Reply #2 on: May 29, 2017, 06:53:28 pm »
Great, that did exactly what i wanted.
Thanks!

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus