Recent

Author Topic: Has the function of finding reference identifiers been removed?  (Read 376 times)

gary

  • New Member
  • *
  • Posts: 30
In the old version of Lazarus, there was a feature that allowed me to right-click, select "Refactor", and then search for identifiers because I forgot in which unit it was. Has this feature been removed in the current version?

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11446
  • Debugger - SynEdit - and more
    • wiki
Re: Has the function of finding reference identifiers been removed?
« Reply #1 on: June 22, 2025, 11:01:35 pm »
Right click:
- 2nd entry "Find"
- then 2nd last "Find Identifier reference"

The "refactoring" is also in the context menu, in the refactoring you find the "rename identifier".

You also find those in the main menu. And I recommend to add key-combos (or maybe they are there by default).




Also install the package cody.
Menu: Packages > Install/uninstall packages

Then in the source menu you have the "unit / identifier dictionary"

It will be empty at first, but after some days of work it starts "learning".

You can then find any identifier, and add it to your code => and it will add the unit, and if required the package too.

gary

  • New Member
  • *
  • Posts: 30
Re: Has the function of finding reference identifiers been removed?
« Reply #2 on: June 23, 2025, 06:02:48 am »
OK, thank you! Such a great feature, why isn't it set as the default option? I just can't figure it out.

n7800

  • Sr. Member
  • ****
  • Posts: 399
Re: Has the function of finding reference identifiers been removed?
« Reply #3 on: June 23, 2025, 05:22:05 pm »
You also find those in the main menu. And I recommend to add key-combos (or maybe they are there by default).

[Ctrl+Shift+I] by default. Or even [F2], and uncheck the rename checkbox.

OK, thank you! Such a great feature, why isn't it set as the default option? I just can't figure it out.

I second that, I'm all for adding Cody to "BigIDE". I use it all the time, and I've assigned [Ctrl+Alt+Shift+F] myself (similar to [Ctrl+F] for search). I just started publishing patches for it the other day to make it even more convenient.

 

TinyPortal © 2005-2018