[recoll-user] Using recoll to index (and search) programming code?
- From: Randy Kramer <rhkramer@xxxxxxxxx>
- To: recoll-user@xxxxxxxxxxxxx
- Date: Fri, 15 Aug 2008 14:34:44 -0400
Is anybody here using recoll to index software (for example, c code)?
(I'm using recoll version 1.6.1)
I recently decided to try to index and then search nedit's c code in hopes of
getting something a little bit more useful than ctags (maybe it's a
limitation of nedit (my preferred editor), but although I can find the
definition of a function, variable, or whatever using tags, I can't go the
other direction to get to where the function is called from.
So I decided to try recoll. For whatever reason (I couldn't find an obvious
reason in the recoll.conf file), it would not index the .c and .h files. So
I renamed a few of them (actually, one each) to .c.txt and .h.txt.
With that, the indexing works, and seems reasonably helpful so far.
I just wondered:
* is there some reason I shouldn't be trying to index code with recoll--I
mean, maybe recoll will create ridiculously big databases or something
because it is code?
* is there a way to get recoll to index files ending in .c and .h other
than by the renaming trick? (In the recoll.conf file, indexallfilenames is
set to 1.)
Thanks,
Randy Kramer
--
"I didn't have time to write a short letter, so I created a video
instead."--with apologies to Cicero, St. Augustine, Pascal, Voltaire,
Thoreau, Samuel Clemens, Mark Twain ...
- Follow-Ups:
- [recoll-user] Re: Using recoll to index (and search) programming code?
- From: Jean-Francois Dockes
Other related posts:
- » [recoll-user] Using recoll to index (and search) programming code?
- » [recoll-user] Re: Using recoll to index (and search) programming code?
- » [recoll-user] Re: Using recoll to index (and search) programming code?
- [recoll-user] Re: Using recoll to index (and search) programming code?
- From: Jean-Francois Dockes