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

Bug 500892

Summary: Make user able to manually create new content types
Product: [Eclipse Project] Platform Reporter: Mickael Istria <mistria>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: Lars.Vogel, psuzzi
Version: 4.6   
Target Milestone: 4.7 M4   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=497871
https://git.eclipse.org/r/83666
Whiteboard:

Description Mickael Istria CLA 2016-09-06 02:39:21 EDT
As the generic editor proposal and the language server support heavily rely on content type to decide of initialization, it would be useful to let user create manually some content types.
Let's imagine a user without anything JSON installed. So there is no JSON content-type in Eclipse. User has support for language-server and just want to have the VSCode language server working for JSON files in Eclipse. At the moment, user will at least need to install a plugin creating the cotent-type.
If they could do it manually, it would allow user to extend their IDE without installing new bundles, just via preferences.

An implementation would probably rely on PreferenceStore for content-types created manually, and the ContentTypeManager would look at the store additionally to the internal immutable registry.
Comment 1 Lars Vogel CLA 2016-09-06 04:07:20 EDT
+1 for this reques. 

And IMHO, we should we should provide common content types also in platform.ui, if that is possible without breaking existing extenders. But that discussion would go into another bug.
Comment 2 Eclipse Genie CLA 2016-10-21 06:46:28 EDT
New Gerrit change created: https://git.eclipse.org/r/83666
Comment 3 Mickael Istria CLA 2016-10-21 12:14:42 EDT
Tentative target 4.7.M4.
Comment 4 Mickael Istria CLA 2016-10-28 01:20:44 EDT

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