Summary: | [extract method] Remove limitation of "extract method" refactoring to current file | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Sergey Yevtushenko <sergey.yevtushenko> |
Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
Status: | ASSIGNED --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | ||
Version: | 3.2 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux | ||
Whiteboard: |
Description
Sergey Yevtushenko
2006-10-02 06:09:50 EDT
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 |