Project: Eclipse_Platform_UI
Bug 288624 [EditorMgmt] Mac: Error when browsing to external editor and then launching
Reported: 2009-09-04 07:24:12 | Status: verified fixed

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.11) Gecko/2009060214 Firefox/3.0.11 Build Identifier: 3.5 Launch an external editor from the Project Explorer as follows. Reproducible: Always Steps to Reproduce: 1.Right click on the file in Project Explorer 2.Select Open With --> Other... 3.In the Editor selection dialog that opens up, select external editors radio button. 4.Instead of selecting the application from the list here, browse to the application using the Browse button, click on open 5.Click on OK in the Editor Selection dialog. Error dialog shows up with the message "Unable to open external editor". Note that selecting the application from the list doesn't works fine. The error, because the code to open the ExternalEditor tries to execute(exec) the .app and not the executable. It is reproducible in both Carbon and Cocoa.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/misc/ExternalEditor.java