Bug 82037 - ctags does not switch between files when tags are clicked.
Summary: ctags does not switch between files when tags are clicked.
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: CTags (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-23 02:12 UTC by frank hassanabad
Modified: 2004-07-20 00:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.