views:

1232

answers:

5

Hi, I am looking for a generic source code browser for Windows and Linux. The languages I use are limited to C/C++, Python and Perl. This tool must be able to show a view of classes/methods/functions in a tab or some similar user interface. It would be great if it could have equivalents of the VS "Go to declaration/definition" as well. And, this is for personal use, so it would be great if it's free/gpl'ed.

Thanks, Raj

+1  A: 

have a look at this one: http://sourcenav.sourceforge.net/. Originaly developed at redhat, it was based on TCL and run on Linux and Windows.

PW
A: 

Thanks, but I should have probably mentioned:

I have tried Snav, Komodo Edit and OpenGrok. Are there other tools I might be unaware of?

For Snav, I don't like that separate window- Tk like look-n-feel :(

Thanks, Raj

Raj
Just a note, you should be able to edit your own question to add any missing detail.
Dalin Seivewright
+1  A: 

Geany is a popular cross-language IDE with much of the support you require. I couldn't tell you if it specifically has "go to declaration" for all supported languages, but it does have "code navigation" support.

Another option might be Vim or Eclipse with the necessary plug-ins. These options would require a bit more work to get set-up exactly how you want, but are also popular choices amongst developers looking to develop in multiple languages.

seanhodges
+1  A: 

I just tried Geany, and from what I see, I like it enough to use it :-)

Thanks Sean!

Raj
A: 

A langauge-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.

Ira Baxter