Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 149911

Summary: [EditorMgmt] contentType file associations do not appear in File Associations pref page
Product: [Eclipse Project] Platform Reporter: Andre Weinand <andre_weinand>
Component: UIAssignee: Kim Horne <eclipse>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, gunnar
Version: 3.2   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Andre Weinand CLA 2006-07-06 17:42:23 EDT
if I create a new contentType:

	<extension point="org.eclipse.core.contenttype.contentTypes">
		<content-type
		id="foobar"
          	name="Foo Bar"
          	file-names="FOOBAR"
		priority="normal"/>
	</extension>

it is not automatically available in the File Associations preference page.
For this I have to add it to an Editor contribution as well (which introduces a redundancy).
Comment 1 Andre Weinand CLA 2006-07-06 17:44:38 EDT
I forgot to mention that the editor contributions references the contentType id, so filename should (indirectly) apply to the editor as well.
Comment 2 Kim Horne CLA 2006-07-07 09:02:20 EDT
Editor associations, in general, are a bit of a mess.  There is very little harmony between the old associations and content type associations.  Hopefully we can address this in 3.3.
Comment 3 Dani Megert CLA 2007-11-09 11:30:43 EST

*** This bug has been marked as a duplicate of bug 91965 ***