#205 Rapid search

open
nobody
None
5
2008-02-28
2008-02-28
Craig McQueen
No

Searching in multiple buffers or directories can be slow. Searching can be greatly sped up using indexing -- e.g. using lucene.

The only issue is that indexing must be done ahead of time. What should be indexed? Suggestions:
1) Current open buffers
2) Last 'n' directories on which a directory search has been done
3) Current project

For (3), this feature would be most useful if jEdit had a proper "Search current project" feature that integrated with the ProjectViewer plugin. Then all the files in the current project could be indexed, and the index updated as files in the project changed.

Discussion

  • Craig McQueen
    Craig McQueen
    2008-02-28

    Logged In: YES
    user_id=1579704
    Originator: YES

    This seems to overlap a bit conceptually with CScopeFinder. See also #1605873 regarding working with ProjectViewer, which ties in with my comments on indexing point (3).

     
  • Craig McQueen
    Craig McQueen
    2008-02-28

    Logged In: YES
    user_id=1579704
    Originator: YES

    Regarding "Search current project" see #1903615.

     
  • Townsfolk
    Townsfolk
    2008-02-28

    Logged In: YES
    user_id=1205438
    Originator: NO

    I'm building a LucenePlugin which will at least let you search through multiple directories (all the "indexable" files within those directories).

    Searching through open buffers sounds like a good feature of this plugin as well. I'll definitely take it into consideration.