Linux.com

Author Message
Joined: Aug 13, 2008
Posts: 15
Other Topics
Posted Aug 13, 2008 at 2:10:22 AM
Subject: command line c++ browsing tools
anyone know of c++ command-line tools for browsing call-graphs / classes etc... the sort of thing that makes dev-studio so powerfull, but running from the command line... e.g. enter a command to dump a class definition or function prototype. i've seen 'c-tags'. seems to me that in the spirit of the 'bazaar' development model, if there was a linux ide it would ideallly be a gui that calls such things as components... rather than a single monolithic, centrally controlled program that does all this. as mentioned in earlier posts this question originates from wanting a decent development enviroment running on minimalistic hardware such as an asus eee pc :)
Back to top Profile Email Website
Shashank Sharma
Joined Jan 01, 1970
Posts: 1657
Location:New Delhi, India

Other Topics
Posted: Aug 16, 2008 3:58:44 PM
Subject: command line c++ browsing tools
Don't know if this thread is a rant or flamewar but at least you should look it over: http://ubuntuforums.org/showthread.php?t=364233

Coauthor of Beginning Fedora: From Novice to Professional published by Apress.

Please follow the Forum Guidelines

Back to top Profile Email Website Yahoo!
ceti331
Joined Aug 13, 2008
Posts: 15

Other Topics
Posted: Aug 17, 2008 12:18:24 AM
Subject: command line c++ browsing tools
interesting, thanks. in the office - MS orientated dev - we recently moved to 'JAM' for building multiplatform apps. So it seems, one should always have a COMMAND LINE enviroment which the IDE is an INTERFACE to, and no more. i'm thinking for the 'open source' - 'bizaar model' of software developmnent to work, the imperative is "improve simpler tools to make all complex/proprietary tools irrelevant" The thread mentions IDE's handling various linux configs... thats a job for config files, not the IDE :) The IDE's job is:- [1] source level debugging (debugging in EDITOR windows.. so how about making editors handle signals to/from gdb, like emacs does..) ... or making an interface for one app to display overlays on another or something... [2] intellisense... [3] managing configs/compiler settings etc... does this have to be in the above? - you can get these from SAMPLE CODE for individual libraries? so we need JAM plus 'better text editors' plus "window manager with dev-studios's tiling" plus better config files ? i guess the IDE is in my 'firing line' for things to 'destroy if possible' because .. [1] to this day i miss codewright/breif windowing and hence don't want an IDE doing this job. [2] i've worked on projects where team consensus has avoided solutions that work in the C/C++ language because they break intellisense! (backward thinking) i.e. xmacros, and some templates. the IDE is less important than the project. so it's an imperative for open source to find ways of making IDE's less important? [Modified by: ceti331 on August 17, 2008 12:39 AM]
Back to top Profile Email Website
Don
Joined Aug 18, 2008
Posts: 1

Other Topics
Posted: Aug 18, 2008 2:03:31 PM
Subject: command line c++ browsing tools
It's not to everyone's liking but I use vim as my IDE, it has a bit of a learning curve but is quite powerful once you understand it, supports plugins, is available in some form on every linux machine I've ever used, can be used over ssh, and runs perfectly on my eeepc. The tag-list plugin uses ctags to generate a summary of the different classes/functions in a file which you can use to skip straight to the relevant bit of the source, you can get this at: http://vim-taglist.sourceforge.net Vim also has built-in functionality for using tag files to skip to definitions etc, if you create a tag file with "ctags -R ." or something similar then when editing a file you can skip from a function call to it's definition with by pressing "Ctrl-]" while the cursor is on the function name then press Ctrl-t to come back. Depending on your distribution you may need to install "vim" or "vim-enhanced" as some (most?) distributions ship with a stripped down version of vim which lacks most functionality. Also you may need to create a .vimrc file (There's usually an example in /usr/share/vim/vimrc)
Back to top Profile Email Website
ceti331
Joined Aug 13, 2008
Posts: 15

Other Topics
Posted: Aug 29, 2008 12:58:46 AM
Subject: command line c++ browsing tools
Just found this 'global' thing http://www.gnu.org/software/global/ Seems to be an improved ctags, and it has something for converting source code to HTML with links for easy navigation in a browser. Thought that would be likely to exist somewhere :)
Back to top Profile Email Website
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya