Google Code Search-like source code indexer and visualizer [closed]
Asked Answered
S

6

12

I'm looking for a way to search through our subversion repository or just packaged source code.

Are there any downloadable servers/tools like Google Code Search to index source code (preferable with support of version control systems like svn) and allow us to search in it?

Is there any tool that will index documents too?

Steamboat answered 11/5, 2009 at 15:18 Comment(2)
By documents.. are those text based or some binary format or something else?Germanophobe
I think MSWord and PDF formats are the most common ones.Steamboat
F
6

FishEye or OpenGrok possibly.

There are many tools that will index documents.

Fifteenth answered 11/5, 2009 at 15:23 Comment(1)
These are good. But is there a system like this that will index both code and documents from svn? Or should I use two systems: one for code and another for documents? Does OpenGrok index old revisions too?Steamboat
I
5

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.

Intisar answered 11/3, 2015 at 14:35 Comment(0)
A
4

I believe the source code for Google Search is available here. It's implemented in Go https://code.google.com/p/codesearch/

Aphanite answered 12/10, 2012 at 16:55 Comment(0)
C
2

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.

Caswell answered 21/10, 2009 at 22:11 Comment(0)
H
1

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]

Hexane answered 22/8, 2009 at 20:39 Comment(0)
P
1

Hound - code search tool with Web UI

Precursor answered 6/8, 2015 at 10:49 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.