Community
Participate
Working Groups
I find sometimes I need to jump to my workspace. It would be awesome of the Location property in the Workspace Data block was hyperlinkable.
What, 'esc' is too hard to hit :) Isn't the launcher dialog modal? What are you thoughts on what the link would do?
yes the launch dialog is modal. I think the link should try to open the editor for the location in the UI thread so that deadlock occurs.
Well, there are locations within the Eclipse and OSGi launch configurations that are a pain in the ass to get to. For example, if I wanted to jump to my workspace, I'd like to hyperlink the Location: and have it go to say '${workspace_loc}/../runtime-New_configuration' in windows explorer or whatever. Or for my Configuration area because I want to find the damn platform.xml, have Location: go to '${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/Wassim like's virgin daiquiris in windows explorer or whatever. Do you understand ?
> Do you understand ? I get it now. I wanted to make sure I understood what you were looking at hyperlinking to :)
I'd be happy to post a patch for this bug. I've got a local working copy. BTW, have you got any preference or idea for the UI ? At the moment it's something like a "show in explorer" push button next to the text field, but maybe we could imagine something a bit less intrusive, like pressing CTRL key to make the text field "clickable" ??
I'd imagine a Link with a selection listener... something simple For example, I'd want a similar pattern to what we have within the Product editor in the Configuration File section where 'File:' is hyperlinked to take you to the file.
Thanks for looking into this one Ben :)
Created attachment 89338 [details] mylyn/context/zip
Created attachment 89339 [details] org.eclipse.pde.ui.patch
Created attachment 89340 [details] screenshot
The patch uses SWT.Program to launch the default Program associated to the location (file explorer -tested on Win XP, Ubuntu & MacOSX- when it's a folder, default editor when it's a file).
Thanks, will look at it today.
nice patch! This is everything I dreamed for and more. I can now quickly jump to the workspace area >:)
great :)