Community
Participate
Working Groups
It would be nice if we had an Open With menu item in the view that allowed the user to decide which editor to use (e.g. Java or Text). We would need support form IDE for this to provide us with the set of editors that were remote-aware.
Sounds like the same problem as bug 37255 and bug 100623.
We do not have the manpower to address this in 3.3.
*** Bug 100623 has been marked as a duplicate of this bug. ***
With such an API, we could also add Open With to the CVS Repo View
(In reply to comment #0) > We would need support > form IDE for this to provide us with the set of editors that were remote-aware. I'm not sure how they would go about providing this as people can arbitrarily contribute editors to the platform.
Created attachment 119486 [details] Fix v01
The fix adds the "Open With..." menu to the history view context menu. The next step would be to add the menu to the Repo view. I'm reopening bug 100623 which is not a dupe of this issue. The UI support mentioned in the comment 0 is a nice-to-have thing, however the "Open With.." menu can work without it. The fix is released to HEAD.
> The UI support mentioned in the comment 0 is a nice-to-have thing, however the > "Open With.." menu can work without it. I saw you copied OpenWithMenu from org.eclipse.ui.ide and opened bug 257515 for the missing API from ui.workbench. Couldn't you avoid copying OpenWithMenu and instead open up the original class a bit? I think opening editors on non-file inputs would also be interesting for other clients, so it would better live in ui.workbench.
Moreover, can this ever work with external (system) editors? I guess not, unless you create a copy of the file in the file system (as requested in bug 37255). You should at least disable external editors and also not offer them in the Others... dialog.
Thanks Markus for the comment. You are able to open system editors for the latest revision in the local history view. This revision is actually the current file. The new OpenWithAction works with IFileRevision from team plugins. That's why I can't just move it to UI. However because I don't like duplicated code, I will try to handle it (somehow) during M5 while fixing "Open With" in the Repo view.
Open (OpenRevisionAction) and Open With (OpenWithMenu) actions are from internal API. Will they be available in public API and when (in order to add them to Subversive)?