Project: Eclipse_Platform_UI
Bug 100336 [EditorMgmt] Default editor ignored when opening file
Reported: 2005-06-15 20:11:41 | Status: verified fixed

Found in 3.1rc2 When opening a .java file for the first time, the default editor is ignored and the file is opened with the Colorer Editor (plugin). The File Association has 'Java Editor' marked as default. The Colorer Editor is first, alphabetically speaking, in the Associated Editors list. The same outcome is not found with other file types. If Java Editor is selected from Open With, Eclipse remembers which editor opened the file and continues to use the Java Editor until told to do otherwise.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/IWorkbenchConstants.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/FileEditorsPreferencePage.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/EditorRegistry.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/FileEditorMapping.java