View Full Version : Light weight source code browser (C/C++) for Ubuntu 12.04 needed

March 12th, 2013, 12:43 PM
I am looking for something like Source Insight for Windows. I will be loading C and C++ projects.

A link to offline installer would be great :)

March 12th, 2013, 02:55 PM
I'm not sure what you mean by browser, you can read C and C++ files using a text editor like jEdit (http://www.jedit.org/). Also try emacs(http://www.gnu.org/software/emacs/) or VIM(http://www.vim.org/), but those have a rather steep learning curve.

Hope this helps.

March 12th, 2013, 05:38 PM
you might give a look to:
code::blocks (http://www.codeblocks.org/)
anjuta (http://www.anjuta.org/)

March 12th, 2013, 05:51 PM
I'd recommend ctags - it's extremely lightweight and does its job well. You can access it from various programs, as it produces a file after source tree scanning, if memory serves.

March 13th, 2013, 09:39 PM
There's CodeBlocks and Eclipse which are Visual Studio alternatives (for full editing and exploration of the code). Many text editors like gEdit, jEdit, Kate, Scribes and Geany also have syntax highlighting. There's also something called Source Navigator which may be what you're looking for.

March 13th, 2013, 10:55 PM
I think that The Source-Navigator IDE (http://sourcenav.sourceforge.net/) is probably the most similar to what you're looking for. It's a source code analysis tool. With it, you can edit your source code, display relationships between classes and functions and members, and display call trees. You can also build your projects, either with your own makefile, or by using Source-Navigator's build system to automatically generate a makefile.
It supports C, C++, Java, Tcl, [incr Tcl], FORTRAN and COBOL, and provides a SDK so that you can write your own parsers.