this may be a stupid idea but

Roland Krause rokrau at yahoo.com
Fri May 24 22:29:02 UTC 2002


has anybody here ever thought of using gdb for code completion? 

I was using gdb today from the commandline and came across it's
wonderful feature to hit "Tab" and get the autocompletion of a class
name all of its methods and their respective arguments. The wonderful
thing about it is, it really works, i.e. one does get the whole thing,
all methods of all baseclasses and all the arguments. 

That means that gdb must have a database of all methods (duh, it's a
debugger), which must come from the information in the binary file
itself. Now if one could do this for individual files it would be 
perfect. 

I have also noticed that this is how VC6 does it. They attempt to
compile the project when "browse information" is required. 

Roland





__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com




More information about the KDevelop-devel mailing list