Google made their internal Kythe source code analyser toolset available on GitHub, see http://www.kythe.io/.
It does a lot more than a simple text-level indexer. At the core it builds an AST graph from the source code and provide tools that operate on it and query it.
I use glimpse for code search. I use the free command line tool, and not the paid web interface. It's very quick, and can be combined with other tools to quickly find what your looking for. I find it's easy to setup multiple repositories for different branches of the code. Additionally, I've created a few scripts to help query, format, and colorize the results.
A language-sensitive source code search engine can be found
at SD Source Code Search Engine. It can handle many languages at the same time.
Searches can be performed for patterns in a specific langauge,
or patterns across languages (such as "find identifiers involving TAX").
By being sensitive to langauge tokens, the number of false positives is reduced,
saving time for the user. It understands C, C++, C#, COBOL, Java, ECMAScript, Java, XML, Verilog, VHDL, and a number of other languages.
[I'm a principal at the company]
发布评论
评论(6)
Hound - 带 Web UI 的代码搜索工具
Hound - code search tool with Web UI
FishEye 或 OpenGrok 可能。
有许多工具可以索引文档。
FishEye or OpenGrok possibly.
There are many tools that will index documents.
Google 在 GitHub 上提供了内部 Kythe 源代码分析器工具集,请参阅 http://www.kythe.io/ 。
它的功能远不止一个简单的文本级索引器。 它的核心是从源代码构建 AST 图,并提供对其进行操作和查询的工具。
Google made their internal Kythe source code analyser toolset available on GitHub, see http://www.kythe.io/.
It does a lot more than a simple text-level indexer. At the core it builds an AST graph from the source code and provide tools that operate on it and query it.
我相信 Google 搜索的源代码可以在这里找到。 它是用 Go 实现的
https://code.google.com/p/codesearch/
I believe the source code for Google Search is available here. It's implemented in Go
https://code.google.com/p/codesearch/
我使用 glimpse 进行代码搜索。 我使用免费的命令行工具,而不是付费的网络界面。 它非常快,并且可以与其他工具结合使用以快速找到您要查找的内容。 我发现为代码的不同分支设置多个存储库很容易。 此外,我还创建了一些脚本来帮助查询、格式化和着色 结果。
I use glimpse for code search. I use the free command line tool, and not the paid web interface. It's very quick, and can be combined with other tools to quickly find what your looking for. I find it's easy to setup multiple repositories for different branches of the code. Additionally, I've created a few scripts to help query, format, and colorize the results.
可以找到语言敏感的源代码搜索引擎
位于 SD 源代码搜索引擎。 它可以同时处理多种语言。
可以对特定语言中的模式进行搜索,
或跨语言的模式(例如“查找涉及 TAX 的标识符”)。
通过对语言标记敏感,可以减少误报的数量,
为用户节省时间。 它理解 C、C++、C#、COBOL、Java、ECMAScript、Java、XML、Verilog、VHDL 和许多其他语言。
【我是公司的负责人】
A language-sensitive source code search engine can be found
at SD Source Code Search Engine. It can handle many languages at the same time.
Searches can be performed for patterns in a specific langauge,
or patterns across languages (such as "find identifiers involving TAX").
By being sensitive to langauge tokens, the number of false positives is reduced,
saving time for the user. It understands C, C++, C#, COBOL, Java, ECMAScript, Java, XML, Verilog, VHDL, and a number of other languages.
[I'm a principal at the company]