The Tools/Migrate... command can do this sort of refactoring. It would be
nice if there were a more interactive way to perform this operation.

-- Mark

-----Original Message-----
From: Marc Palmer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 09:46a
To: '[EMAIL PROTECTED]'
Subject: [Eap-list] REQ: "Replace usages..."



Hi,

I couldn't find a way to do this (I have 602). Basically I wanted to 
replace all usages of java.awt.Rectangle with my own IntRect class, for 
the purposes of optimisation and independence.

However, I could not get IDEA to do this for me. I had to do a "Replace 
in path" which is not the same thing at all! It takes a lot longer, and 
you have to go and correct the imports too.

With lots of source files, this can be pretty nasty and error-prone.

Is this possible and I'm just blind? Or is this a different kind of 
refactoring - "Replace class X with class Y"?

Marc
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ W<A> ~~~~~
(o) Wangjammer5 (Marc Palmer) 
( ) Wangjammer7 

www.wangjammers.org = Java Consultants (Web|Smartcards|Crypto)



_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to