Sign in Join

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

Mailing lists / lazarus / 2022-12

Instantsearch package

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Michael Van Canneyt

Hello,

As a late Christmas gift (and after some deliberation with Mattias Gaertner who provided many helpful remarks), I've added a package to the lazarus IDE: InstantSearch.

It provides as-you-type search possibilities, which is much faster than the current find-in-files.

For it to work, it needs to index sources. The sources are organized in source trees, and you can define as much "source trees" as you wish. The RTL, FCL, compiler and LCL are added by default.

Projects can be marked as 'indexable' and the current project can be indexed & searched as well.

Conceivably, other sources of info can be indexed: WIKI, Help, etc...

It currently uses "Manticore Search" as a backend (because it has a simple install and interface), but other engines can be added if so desired.

More help can be found here:
https://wiki.freepascal.org/Lazarus_InstantSearch

Should you experience problems, don't hesitate to reach out.

Enjoy !

Michael.

Reply by email

Marcello
to Michael Van Canneyt

Hi, I installed the InstantSearch package, really useful, thanks!

Search works and is impressive :)

While double clicking on fpc/lazarus sources the link works correctly, same action on my project sources fails with this message

Source tree 6A01AF16-603C-4AF5-9193-8CB97726549B not found. Please refresh search results.

Any idea to help me fix?

Thanks
nomorelogic

Il 31/12/22 19:07, Michael Van Canneyt via lazarus ha scritto:

Show quoted text 33 lines
Hello, As a late Christmas gift (and after some deliberation with Mattias Gaertner who provided many helpful remarks), I've added a package to the lazarus IDE: InstantSearch. It provides as-you-type search possibilities, which is much faster than the current find-in-files. For it to work, it needs to index sources. The sources are organized in source trees, and you can define as much "source trees" as you wish. The RTL, FCL, compiler and LCL are added by default. Projects can be marked as 'indexable' and the current project can be indexed & searched as well. Conceivably, other sources of info can be indexed: WIKI, Help, etc... It currently uses "Manticore Search" as a backend (because it has a simple install and interface), but other engines can be added if so desired. More help can be found here: https://wiki.freepascal.org/Lazarus_InstantSearch Should you experience problems, don't hesitate to reach out. Enjoy ! Michael.

Reply by email

Michael Van Canneyt
to Marcello
Marcello wrote 11 lines
Hi, I installed the InstantSearch package, really useful, thanks! Search works and is impressive :) While double clicking on fpc/lazarus sources the link works correctly, same action on my project sources fails with this message Source tree 6A01AF16-603C-4AF5-9193-8CB97726549B not found. Please refresh search results. Any idea to help me fix?

I looked at it, it should hopefully be fixed.

If not, please give me steps to reproduce...

Michael.

Reply by email