Community
Participate
Working Groups
In the workbench editor preferences, you can change the default editor to use on particular resource types when they are opened. For now, you have to choose between internal editors defined in a plugin.xml, or choose an external editor. It would be extremely useful if the system editor was available as a choice. I've set up a system editor that uses DDE to reuse the existing editor instance anytime I double click on '.java' files. I can choose the editor from the external editor section, however there is no way for me to specify DDE settings...
I am not sure what you are asking for. Are you looking for a general purpose DDE editor launcher or guidance for getting arguments to your DDE editor. If it is the later, you can create your own editor launcher, once your code is running you can supply any extra arguments to launch your external editor.
I'll try to make myself more coherent. A user sets up their windows environment (via file types in windows explorer) so that a double click of a .java file in his windows explorer opens up the same version of XEmacs via the magic of DDE. He can happily browse through his file system, double clicking any java file and the same instance of XEmacs is used. Now, the user launches the workbench. He can right click on a java file in the navigator, choose "System Editor" and the selected java file is opened in the same instance of XEmacs again. Instead of having to right click every file and choose "System Editor", the user would like a double click (or the default editor to use on an 'Open') to use XEmacs. He opens Workbench->Preferences and navigates to Workbench->File Editors. He chooses "*.java" in the "File Types: and clicks on the "Add..." beside the "Associated editors:". His first inclination is to choose the "External Programs" radio button. He can choose the XEmacs executable but there is no way to specify DDE arguments. Double clicking on .java files in the navigator launches a separate instance of XEmacs each time. My suggestion is that you now have available somewhere in this dialog, the choice of the System Editor. This leaves the specification of DDE arguments in the hands of the file type dialog in windows. Let me know if I'm making any sense here :) (Or if there already is a way of doing this that is beyond me).
*** Bug 92206 has been marked as a duplicate of this bug. ***
Moving Dougs bugs
As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009
Remy is now responsible for watching the [EditorMgmt] component area.
With the recent Marketplace discovery, a user can associate the generic "System Editor" with a file extension. However this doesn't show up in the Editor Selection dialog. Then this System Editor is resolved later, when trying to actually open the file, so if the OS association changes, Eclipse IDE will use the newly associated editor. Proposal in comment #2 is definitely relevant.