Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Refactor/Rename not updating references
Refactor/Rename not updating references [message #272679] Fri, 24 September 2004 20:14 Go to next message
Eclipse UserFriend
Originally posted by: Bruce2004.stempsoft.com

When I use Refactor/Rename to rename a class and I check Update
References. the references to the class being renamed are not updated.
I'm fairly sure this worked before, what could be wrong?
Re: Refactor/Rename not updating references [message #272680 is a reply to message #272679] Sat, 25 September 2004 00:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: akiezun.remove.mit.edu

try searching for references to the class.
if none is found then it's a search engine problem. if they are - it's
probably a refactoring problem.
in either case - report to buzilla and include as many details as you can.

/adam

Bruce wrote:
> When I use Refactor/Rename to rename a class and I check Update
> References. the references to the class being renamed are not updated.
> I'm fairly sure this worked before, what could be wrong?
>
>
Re: Refactor/Rename not updating references [message #272683 is a reply to message #272680] Sat, 25 September 2004 09:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Bruce2004.stempsoft.com

Adam Kiezun wrote:

> try searching for references to the class.
> if none is found then it's a search engine problem. if they are - it's
> probably a refactoring problem.
> in either case - report to buzilla and include as many details as you can.

> /adam

> Bruce wrote:
> > When I use Refactor/Rename to rename a class and I check Update
> > References. the references to the class being renamed are not updated.
> > I'm fairly sure this worked before, what could be wrong?
> >
> >


Thanks. So I am doing nothing wrong? I was not imagining that it is
supposed to work this way?


If I do a "File Search" then it finds all occurances of my class
"GpsDevice". But it only finds the actual class in a "Java Search" if I
pick constructor in "Search Options". It does not find any occurances to
"GpsDevice" no matter the options that I pick under "Search Options".


What should I do to find all references to "GpsDevice" under Search/Java?
Re: Refactor/Rename not updating references [message #272684 is a reply to message #272683] Sat, 25 September 2004 10:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: akiezun.remove.mit.edu

> Thanks. So I am doing nothing wrong? I was not imagining that it is
> supposed to work this way?

i was not sayig you did anything wrong. i meant that as investigation
questions. it is supposed to work as you did it - you select a class, ro
'refactor' and things get updated.

> If I do a "File Search" then it finds all occurances of my class
> "GpsDevice". But it only finds the actual class in a "Java Search" if I
> pick constructor in "Search Options". It does not find any occurances to
> "GpsDevice" no matter the options that I pick under "Search Options".

don't select the constructor - that searches for references to the
constructor.

> What should I do to find all references to "GpsDevice" under Search/Java?

to search for reference to a clas - select the class.

hth
/adam
Re: Refactor/Rename not updating references [message #272687 is a reply to message #272684] Sat, 25 September 2004 12:45 Go to previous message
Eclipse UserFriend
Originally posted by: Bruce2004.stempsoft.com

I did not mean to say you said I was doing something wrong. I was
assuming that I did something wrong. I wanted to confirm that I was not
doing anything wrong.

OK figured it out. I selected the class in the Package Explorer and then
selected Search/References/Project and it finds all the references to the
class.


Adam Kiezun wrote:

> > Thanks. So I am doing nothing wrong? I was not imagining that it is
> > supposed to work this way?

> i was not sayig you did anything wrong. i meant that as investigation
> questions. it is supposed to work as you did it - you select a class, ro
> 'refactor' and things get updated.

> > If I do a "File Search" then it finds all occurances of my class
> > "GpsDevice". But it only finds the actual class in a "Java Search" if I
> > pick constructor in "Search Options". It does not find any occurances to
> > "GpsDevice" no matter the options that I pick under "Search Options".

> don't select the constructor - that searches for references to the
> constructor.

> > What should I do to find all references to "GpsDevice" under Search/Java?

> to search for reference to a clas - select the class.

> hth
> /adam
Previous Topic:Unable to Add CVS repository
Next Topic:Help with Eclipse
Goto Forum:
  


Current Time: Mon Apr 28 02:46:19 EDT 2025

Powered by FUDForum. Page generated in 0.03983 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top