Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Large refactoring
Large refactoring [message #46011] Wed, 26 March 2008 14:24 Go to next message
Steven Curtis is currently offline Steven CurtisFriend
Messages: 6
Registered: July 2009
Junior Member
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 #46042 is a reply to message #46011] Wed, 26 March 2008 15:54 Go to previous messageGo to next message
Jörg Thönnes is currently offline Jörg ThönnesFriend
Messages: 229
Registered: July 2009
Senior Member
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 #47208 is a reply to message #46042] Tue, 15 April 2008 16:43 Go to previous message
Mik Kersten is currently offline Mik KerstenFriend
Messages: 287
Registered: July 2009
Senior Member
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 15:54 Go to previous message
Jörg Thönnes is currently offline Jörg ThönnesFriend
Messages: 229
Registered: July 2009
Senior Member
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 16:43 Go to previous message
Mik Kersten is currently offline Mik KerstenFriend
Messages: 287
Registered: July 2009
Senior Member
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
Previous Topic:Can Mylyn tell me which tasks I worked on yesterday?
Next Topic:How to support RepositoryAttachementEditorInput
Goto Forum:
  


Current Time: Thu Apr 25 01:57:15 GMT 2024

Powered by FUDForum. Page generated in 0.03672 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top