Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
iloveeclipse opened this issue Feb 13, 2024 · 0 comments · Fixed by #699
Closed

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

iloveeclipse opened this issue Feb 13, 2024 · 0 comments · Fixed by #699

Comments

@iloveeclipse
Copy link
Contributor

iloveeclipse commented Feb 13, 2024

With eclipse-platform/eclipse.platform.ui#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.

@iloveeclipse iloveeclipse changed the title Link "text.xml" scope with "org.eclipse.core.runtime.xml content type" Link "text.xml" scope with "org.eclipse.core.runtime.xml" content type Feb 13, 2024
iloveeclipse added a commit to iloveeclipse/tm4e that referenced this issue Feb 13, 2024
iloveeclipse added a commit to iloveeclipse/tm4e that referenced this issue Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant