Large refactoring [message #46011] |
Wed, 26 March 2008 10:24  |
Eclipse User |
|
|
|
I have a large refactoring job in which a commonly used file is being
moved from one package to another. With a task activated, Refactor ->
Move completes the job be modifying more than 70 files, but only the file
being moved is added to the task context. Why aren't the other 70 files
added as well? Am I missing something?
Eclipse Platform
Version: 3.3.2
Build id: M20080221-1800
Mylyn 2.3.1.v20080312-1300
|
|
|
|
Re: Large refactoring [message #47208 is a reply to message #46042] |
Tue, 15 April 2008 12:43  |
Eclipse User |
|
|
|
The events are actually handled by Mylyn. What happens is that for most
refactoring cases the events are added to the context but will only
appear in the context change set (Synchronize view) and not in the
Package Explorer. I've been experimenting with a mode where changed
resources do show in the Package Explorer. It bloats it some after a
large refactoring, but then the decay takes over and only the most
interacted with files will show. I'm not yet sure if I like it more but
will keep working this way for a while to get a better sense.
Please file a bug in case anyone else is interested in having the task
context include indirectly modified resources.
Mik
Jörg Thönnes wrote:
> On 03/26/08 15:24, Steven Curtis wrote:
>> I have a large refactoring job in which a commonly used file is being
>> moved from one package to another. With a task activated, Refactor ->
>> Move completes the job be modifying more than 70 files, but only the
>> file being moved is added to the task context. Why aren't the other 70
>> files added as well? Am I missing something?
>
> AFAIK the refactoring events are not handled by Mylyn at the moment.
> Even if I move a single file the context lacks the methods/classes acccessed
> in the old file.
>
> There is a related bug in the Eclipse Bugzilla, this should be planned for 3.0.
>
> Please look for the bug and vote on it.
>
> Thanks, Jörg
|
|
|
Re: Large refactoring [message #588696 is a reply to message #46011] |
Wed, 26 March 2008 11:54  |
Eclipse User |
|
|
|
On 03/26/08 15:24, Steven Curtis wrote:
> I have a large refactoring job in which a commonly used file is being
> moved from one package to another. With a task activated, Refactor ->
> Move completes the job be modifying more than 70 files, but only the
> file being moved is added to the task context. Why aren't the other 70
> files added as well? Am I missing something?
AFAIK the refactoring events are not handled by Mylyn at the moment.
Even if I move a single file the context lacks the methods/classes acccessed
in the old file.
There is a related bug in the Eclipse Bugzilla, this should be planned for 3.0.
Please look for the bug and vote on it.
Thanks, Jörg
|
|
|
Re: Large refactoring [message #589112 is a reply to message #46042] |
Tue, 15 April 2008 12:43  |
Eclipse User |
|
|
|
The events are actually handled by Mylyn. What happens is that for most
refactoring cases the events are added to the context but will only
appear in the context change set (Synchronize view) and not in the
Package Explorer. I've been experimenting with a mode where changed
resources do show in the Package Explorer. It bloats it some after a
large refactoring, but then the decay takes over and only the most
interacted with files will show. I'm not yet sure if I like it more but
will keep working this way for a while to get a better sense.
Please file a bug in case anyone else is interested in having the task
context include indirectly modified resources.
Mik
Jörg Thönnes wrote:
> On 03/26/08 15:24, Steven Curtis wrote:
>> I have a large refactoring job in which a commonly used file is being
>> moved from one package to another. With a task activated, Refactor ->
>> Move completes the job be modifying more than 70 files, but only the
>> file being moved is added to the task context. Why aren't the other 70
>> files added as well? Am I missing something?
>
> AFAIK the refactoring events are not handled by Mylyn at the moment.
> Even if I move a single file the context lacks the methods/classes acccessed
> in the old file.
>
> There is a related bug in the Eclipse Bugzilla, this should be planned for 3.0.
>
> Please look for the bug and vote on it.
>
> Thanks, Jörg
|
|
|
Powered by
FUDForum. Page generated in 0.05323 seconds