eclipse-tm4e / tm4e

TextMate support in Eclipse IDE
https://projects.eclipse.org/projects/technology.tm4e
Eclipse Public License 2.0
93 stars 56 forks source link

Link "text.xml" scope with "org.eclipse.core.runtime.xml" content type #698

Closed iloveeclipse closed 8 months ago

iloveeclipse commented 8 months ago

With https://github.com/eclipse-platform/eclipse.platform.ui/issues/1659 implemented (see https://eclipse.dev/eclipse/news/4.31/platform.php#default_editor_preference) I miss only one "thing" to automatically show xml syntax with textmate for files that do not have "well known" xml suffix but have xml content type, like .classpath, .project etc.

The missing step is registration of the text.xml scope with org.eclipse.core.runtime.xml content type. If done that, one can get something like below "for free" after simple preference change in Eclipse:

image

I will push a trivial change that allows this feature in a moment.