Community
Participate
Working Groups
In many cases it is necessary to perform simple "extract method" refactoring for many files in the project/workspace. At present it must be done for each file separately. It is OK for 1-5 files, but is too time consuming if number of files exceeds that range.
You want 'extract method' to replace all other occurences of the extracted code?
(in other files)
> You want 'extract method' to replace all other occurences of the extracted > code? Yes, it would be great. To be more exact, I think it would be convenient to have (combobox?) choice for the scope of the action - file/project/workspace. Perhaps it might be also convenient to select the location for the extracted method - current file/common base class/static method in explicitly specified class. Last choice, of course, should be available only if there are no dependencies on instance variables.
While this request is valid, your second thoughts about the destination are already covered by bug 225716