开发者

How can I index my source code? [closed]

Closed. This question does not meet Stack Overflow guidelines. It开发者_Python百科 is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 8 years ago.

Improve this question

Are there any tools out there that will index source code, client side, and provide blazing fast search results?

How can I index our internal source code? is related but covers server side tools.


Everything and Locate32 are nice indexing-tools on the windows platform. Just one problem, they only index the file-names. DocFetcher is another solution, it tries to index the content of the files, but have big memory issues as it cannot index the content of bigger files, and just skips them

I'm also on the search for something to index my data, and i want some tool like locate32 wich is supernice to integrate with the windows shell, but it would be nice to get it to index the content of files also, only brute word indexing, no magic to be done to the data, but let me do plain wildcard searches, like words starting with, ending with, and containing. But the search is still on.. (for an app, that is..)


Install ctags.

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


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

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

Using CodeIDX you can index multiple directories using filetype filters and search the created index. You can open multiple searches at the same time and the results can be viewed in a preview.


Using GNU Global you can get browsable, searchable source code. You can run this locally too or use all the tools that go with it (like less to go straight to a function definition).

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜