[Bug 82037] New: ctags does not switch between files when tags are clicked.

frank hassanabad foreverlinux at yahoo.com
Tue May 25 20:38:28 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=82037      
           Summary: ctags does not switch between files when tags are
                    clicked.
           Product: kdevelop
           Version: unspecified
          Platform: RedHat RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel kdevelop org
        ReportedBy: foreverlinux yahoo com


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.




More information about the KDevelop-devel mailing list