I too would like something along these lines. While refactoring is great it doesn't cover situations like moving to a new incompatible version of a library or removing uses of a deprecated method.
What I want is something like regular expressions that work at the parse tree level rather than the text level, with the ability to wildcard pars of the expression. What I haven't figured out yet is how one would present it to the user in an understandable fashion. I would like to be able to do things like: replace $java.awt.frame$.add($java.awt.component$) with $1.getContentPane().add($2) Ideally in the above case it would also handle the implicit 'this.' so that uses within a class could be replaced as well. -- Mark -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 18, 2001 12:46p To: [EMAIL PROTECTED] Subject: [Eap-list] 506 Search & Replace, Find Usages Build 506 Search and Replace dialogs should offer logical search conditions like scopes and types: search for foo within method/class/package search for "foo", as a/in a, variable name/field name/method name, The Find Usages popup shows you where everything appears, but it doesn't give you any change to change it, other than pulling up the source at each usage and editing it by hand. It'd be nice to be able to go through the usages display, selecting or deselecting instances of a usage, and then specify a change to apply. Steven J. Owens [EMAIL PROTECTED] _______________________________________________ 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
