Gonzui,程序员专用,本地代码搜索引擎

作者:半瓶墨水   链接:http://www.2maomao.com/blog/gonzui-code-search-engine/

查了好久,终于挖出这个东东

我不是要google的code search,也不是Koders或者Codase的那种服务。

我要的是,对我自己机器上的代码做索引,然后打开网页搜索本地的代码,有时候我只要C有时候我想只找类定义,不用怀疑,Gonzui都可以做到。结果的代码还有语法高亮哦。

路人甲:Google本地搜索不是很好吗?
兔毛猫:Google搜索本地文档是很好,但是我想搜程序代码的时候,他给我一坨屎,哦不,是一堆。

Gonzui专注于本地代码搜索,非常符合我的搜索要求。

目前支持的语言:C, C++, Java, JavaScript, Ruby, Python, PHP, Perl, Objective Caml, Brainfuck, CSS, Shell and plain text.

注:Win32版本的支持有限制:gonzui-win32 doesn’t support Ruby, Perl, and Objective Caml. Perl and OCaml will be supported soon. For ruby, I’m waiting for exerb’s support for ruby 1.9.

不说什么了,给link吧。

主页在这里:http://gonzui.sourceforge.net/
Win32上的可用版本在这里:http://soutaro.com/gonzui-win32/
一些屏幕截图在这里:http://gonzui.sourceforge.net/screenshots.html

参见:wikipedia上的介绍:

Gonzui
From Wikipedia, the free encyclopedia

Gonzui is a source code search engine software.

This software was originally developed by Satoru Takabayashi who developed the Namazu whole text robot search engine.

Gonzui is specially designed for searching source code including various programming languages. As of 2005, it supports C, C++, Java, JavaScript, Ruby, Python, PHP, Perl, Objective Caml, Brainfuck, CSS, Shell and plain text.

It also supports licenses such as GPL, LGPL, Perl’s License, and Ruby’s License as a search key.

附:
win32版本的使用方法:解压缩后进入所在命令行,然后:
> gonzui-import.exe file://c:/path/to/codes
> gonzui-server.exe

一条评论 发表在“Gonzui,程序员专用,本地代码搜索引擎”上

留下回复