Bug 82037

Summary: ctags does not switch between files when tags are clicked.
Product: [Applications] kdevelop Reporter: frank hassanabad <foreverlinux>
Component: CTagsAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description frank hassanabad 2004-05-23 02:12:10 UTC
Version:            (using KDE KDE 3.2.2)
Installed from:    RedHat RPMs
Compiler:          gcc 3.3.3 
OS:                Linux

Whenever, I use ctags with C++ and I highlight a method/function/etc... to switch to another file it display it  it does not switch to the other file until I press the close button.

However, whenever I put the following into void CTagsDialog::slotResultClicked(QListBoxItem *item):

cout << "Frank modded right here with filename:" << fileName.ascii() << " linenumber:" << lineNum << endl;

right before
m_part->partController()->editDocument(fileName, lineNum-1);

I see:
Frank modded right here with filename:/home/iamwoodyjones/delme/src/poo.h linenumber:14
Frank modded right here with filename:/home/iamwoodyjones/delme/src/poo.cpp linenumber:13

so it does try to switch from the header to the cpp but it never does.  It will only switch files whenever I keep the other entry highlighted and hit the close button.  

Is it possible to have the top level ctags gui switch between files?  It'll switch possitions within the same file  for definitions/functions/methods/etc  but it won't change between files unless I highlight the entry and hit close.
Comment 1 Jens Dagerbo 2004-05-25 22:33:04 UTC
Unless someone screams bloody murder, this CTAGS plugin will be retired and replaced by CTAGS2 (fancy name, eh?) in KDevelop-3.1. The new plugin is smarter, faster and more memory efficient. It also uses a bottom toolview to display hits, so it is now possible to freely click around between the various hits.
Comment 2 Jens Dagerbo 2004-07-20 00:31:33 UTC
So this can now be considered fixed.