Bug 68500 - [Outline View] After doing a rename of a class, the outline viewer does not display the new name (just the old name)
Summary: [Outline View] After doing a rename of a class, the outline viewer does not d...
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Hoda Amer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-24 12:47 EDT by Mathieu Lapensée CLA
Modified: 2004-08-23 11:32 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Lapensée CLA 2004-06-24 12:47:45 EDT
Eclipse 200406192000   CDT 200406240301    IBM JRE J9 June 23

After doing a rename of a class, the outline viewer does not display the new 
name (just the old name).

Steps:
1)Expand the BubbleSort directory in the MgdCpp project 
2)Open the SD_01.h file 
3)From the Outline view, right-click on the class SD_01 and select Refactor-
>Rename 
4)Change the name from SD_01 to BubbleSort and click the OK button 

The .h and .cpp files are changed to "BubbleSort".  But in the outline viewer, 
it still displays "SD_01".  This behavior does not depend if eclipse was 
install under Program Files or not.
Comment 1 Mathieu Lapensée CLA 2004-06-24 12:48:05 EDT
CC Hoda.
Comment 2 Mathieu Lapensée CLA 2004-06-24 12:50:26 EDT
Actually, it did not rename the 2 "SD_01" instances in main.cpp.  It did change 
the "SD_01" instances in SD_01.h and SD_01.cpp.
Comment 3 Hoda Amer CLA 2004-06-24 13:57:14 EDT
This is an outline view problem.
Changes happen while saving the refactored files, but the outline view does 
not catch up, displaying the old info.
Comment 4 Hoda Amer CLA 2004-06-24 14:34:02 EDT
Reducing severity to Normal as this does not happen except when you are 
importing a huge file and indexing is not totally done.
I was only able to reproduce it in this case. I tried to reproduce it after 
importing was complete and it never appeared.
Comment 5 Kleo Hapitas CLA 2004-07-07 16:33:48 EDT
PR was targeted to the 2.0 release but not resolved, moving target to 2.1
Comment 6 Hoda Amer CLA 2004-07-15 14:23:53 EDT
Fixed in Head and branch.
Comment 7 Tanya Wolff CLA 2004-08-23 11:32:30 EDT
Verified in CDT build 2.0.1: 200408191725