Mylyn - "open resource" to context [message #46460] |
Thu, 03 April 2008 12:22 |
Eclipse User |
|
|
|
Originally posted by: ChrisFaulkner.loydspharmacy.co.uk
Hi
I have been using Mylyn for a couple of weeks and I am pretty pleased,
overall. I have a couple of questions - I looked through the FAQ and
couldn't see the answers. So apologies if I missed them.
1. I have an active task, and the "Focus on Active Task" button is enabled
so my package explorer is greatly slimmed down, which I am grateful for
because there are 60-odd projects in my workspace ! I can Shift-Ctrl-T to
add a type to the context, and that class opens. The project containing
that class, if it isn't already there, is added to the context, along with
the .java file. I can Shift-Ctrl-R to open an XML file. The file opens in
the editor but is not shown in my package explorer. It appears that any
resource I open is not added to the package explorer.
If I turn off the "focus on active task", pretty much any file I file I
right click on in the package has "remove from Context" even though the
file isn't in the context.
2. Why is the "link with editor button" greyed out ? If I select a file by
clicking on its edit tab, the default behaviour is to select the file in
the the package explorer (i.e same as link with editor) but sometimes I
don't want that to happen.
I am using MyEclipse (version 6 - Europa) with the latest version of Mylyn.
I don't think it is relevant but I should say that I am using a local task
repository. We use Mantis here as a defect tracking system but
unfortunately, the connector that is available doesn't support our version
of Mantis.
Thanks
Chris
|
|
|
Re: Mylyn - "open resource" to context [message #46516 is a reply to message #46460] |
Thu, 03 April 2008 14:32 |
Eclipse User |
|
|
|
Originally posted by: mauro.molinari.cardinis.com
Hi Chris!
Chris Faulkner ha scritto:
> 1. I have an active task, and the "Focus on Active Task" button is
> enabled so my package explorer is greatly slimmed down, which I am
> grateful for because there are 60-odd projects in my workspace ! I can
> Shift-Ctrl-T to add a type to the context, and that class opens. The
> project containing that class, if it isn't already there, is added to
> the context, along with the .java file. I can Shift-Ctrl-R to open an
> XML file. The file opens in the editor but is not shown in my package
> explorer. It appears that any resource I open is not added to the
> package explorer.
>
> If I turn off the "focus on active task", pretty much any file I file I
> right click on in the package has "remove from Context" even though the
> file isn't in the context.
I too think there are some synchronization problems between what is
showed by Package Explorer when focused and the contents of the context.
See also my bug report:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=221802
> 2. Why is the "link with editor button" greyed out ? If I select a file
> by clicking on its edit tab, the default behaviour is to select the file
> in the the package explorer (i.e same as link with editor) but sometimes
> I don't want that to happen.
I asked the same question some time ago, please see:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=205548#c1
and Mik's answer in comment #2.
Cheers,
Mauro.
|
|
|
Re: Mylyn - "open resource" to context [message #46545 is a reply to message #46516] |
Thu, 03 April 2008 15:31 |
Eclipse User |
|
|
|
Originally posted by: ChrisFaulkner.loydspharmacy.co.uk
Thanks for the quick reply. My main reason for posting was just to be sure
that there wasn't some functional part of Mylyn that I wasn't
understanding.
The linking with editor behaviour is only a minor niggle really. Before
Mylyn I tended to run with this on most of the time in any case. I can see
from the bug record that implementing a good solution would be tricky.
The synchronisation definitely looks to be a bug, though.
Chris
|
|
|
|
Re: Mylyn - "open resource" to context [message #47264 is a reply to message #46460] |
Tue, 15 April 2008 16:57 |
Mik Kersten Messages: 287 Registered: July 2009 |
Senior Member |
|
|
Chris Faulkner wrote:
> Hi
> I have been using Mylyn for a couple of weeks and I am pretty pleased,
> overall. I have a couple of questions - I looked through the FAQ and
> couldn't see the answers. So apologies if I missed them.
>
> 1. I have an active task, and the "Focus on Active Task" button is
> enabled so my package explorer is greatly slimmed down, which I am
> grateful for because there are 60-odd projects in my workspace ! I can
> Shift-Ctrl-T to add a type to the context, and that class opens. The
> project containing that class, if it isn't already there, is added to
> the context, along with the .java file. I can Shift-Ctrl-R to open an
> XML file. The file opens in the editor but is not shown in my package
> explorer. It appears that any resource I open is not added to the
> package explorer.
161834: opening a resource using ctrl shift R that gets opened in
external editor does not result in resource gaining interest!
https://bugs.eclipse.org/bugs/show_bug.cgi?id=161834
> If I turn off the "focus on active task", pretty much any file I file I
> right click on in the package has "remove from Context" even though the
> file isn't in the context.
Yes, this is a limitation and the action will always show if a context
is active. Feel free to file a bug.
Mik
|
|
|
Re: Mylyn - "open resource" to context [message #588838 is a reply to message #46460] |
Thu, 03 April 2008 14:32 |
Mauro Molinari Messages: 285 Registered: July 2009 |
Senior Member |
|
|
Hi Chris!
Chris Faulkner ha scritto:
> 1. I have an active task, and the "Focus on Active Task" button is
> enabled so my package explorer is greatly slimmed down, which I am
> grateful for because there are 60-odd projects in my workspace ! I can
> Shift-Ctrl-T to add a type to the context, and that class opens. The
> project containing that class, if it isn't already there, is added to
> the context, along with the .java file. I can Shift-Ctrl-R to open an
> XML file. The file opens in the editor but is not shown in my package
> explorer. It appears that any resource I open is not added to the
> package explorer.
>
> If I turn off the "focus on active task", pretty much any file I file I
> right click on in the package has "remove from Context" even though the
> file isn't in the context.
I too think there are some synchronization problems between what is
showed by Package Explorer when focused and the contents of the context.
See also my bug report:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=221802
> 2. Why is the "link with editor button" greyed out ? If I select a file
> by clicking on its edit tab, the default behaviour is to select the file
> in the the package explorer (i.e same as link with editor) but sometimes
> I don't want that to happen.
I asked the same question some time ago, please see:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=205548#c1
and Mik's answer in comment #2.
Cheers,
Mauro.
|
|
|
Re: Mylyn - "open resource" to context [message #588848 is a reply to message #46516] |
Thu, 03 April 2008 15:31 |
Eclipse User |
|
|
|
Originally posted by: ChrisFaulkner.loydspharmacy.co.uk
Thanks for the quick reply. My main reason for posting was just to be sure
that there wasn't some functional part of Mylyn that I wasn't
understanding.
The linking with editor behaviour is only a minor niggle really. Before
Mylyn I tended to run with this on most of the time in any case. I can see
from the bug record that implementing a good solution would be tricky.
The synchronisation definitely looks to be a bug, though.
Chris
|
|
|
|
Re: Mylyn - "open resource" to context [message #589123 is a reply to message #46460] |
Tue, 15 April 2008 16:57 |
Mik Kersten Messages: 287 Registered: July 2009 |
Senior Member |
|
|
Chris Faulkner wrote:
> Hi
> I have been using Mylyn for a couple of weeks and I am pretty pleased,
> overall. I have a couple of questions - I looked through the FAQ and
> couldn't see the answers. So apologies if I missed them.
>
> 1. I have an active task, and the "Focus on Active Task" button is
> enabled so my package explorer is greatly slimmed down, which I am
> grateful for because there are 60-odd projects in my workspace ! I can
> Shift-Ctrl-T to add a type to the context, and that class opens. The
> project containing that class, if it isn't already there, is added to
> the context, along with the .java file. I can Shift-Ctrl-R to open an
> XML file. The file opens in the editor but is not shown in my package
> explorer. It appears that any resource I open is not added to the
> package explorer.
161834: opening a resource using ctrl shift R that gets opened in
external editor does not result in resource gaining interest!
https://bugs.eclipse.org/bugs/show_bug.cgi?id=161834
> If I turn off the "focus on active task", pretty much any file I file I
> right click on in the package has "remove from Context" even though the
> file isn't in the context.
Yes, this is a limitation and the action will always show if a context
is active. Feel free to file a bug.
Mik
|
|
|
Powered by
FUDForum. Page generated in 0.04210 seconds