How can I index the source code?

Are there any tools that will index the source code, the client side and provide quick quick search of results?

How can I index our internal source code? connected, but covers server-side tools.

+7
source share
4 answers

Install ctags .

Then ctags -R in the root of your source tree. Many editors, including Vim, can use the resulting tags file to get almost instant search results.

+2
source

Everything and Locate32 - excellent indexing - tools on the Windows platform. Only one problem, they only index file names. DocFetcher is another solution, it tries to index the contents of files, but has big memory problems, because it cannot index the contents of large files, and just skips them

I was also looking for something to index my data, and I want some tool like locate32 to be super reliable for integrating with the Windows shell, but it would be nice to force it to also index the contents of files, just rough indexing of words, no magic to do with the data, but let me do simple wildcard searches such as words starting with, ending with and containing. But the search is still on .. (for the application, that is ..)

+2
source

I know this is an old question, but maybe it will help someone else.

Take a look at CodeIDX: http://sourceforge.net/projects/codeidx/ .

With CodeIDX, you can index multiple directories using file type filters and search for the index created. You can open several queries at the same time and the results can be previewed.

+1
source

Using GNU Global , you can get searchable searchable source code. You can also run this locally or use all the tools that come with it (e.g. less to get to the definition of a function).

See http://www.tamacom.com/tour/kernel/linux/ for an example Linux kernel.

0
source

All Articles