eclipse / buildship

The Eclipse Plug-ins for Gradle project.
528 stars 167 forks source link

Fix editor bindings for gradle.properties and Kotlin DSL files #1284

Closed oleosterhagen closed 7 months ago

oleosterhagen commented 8 months ago

In order for the editor content type bindings configured in the plugin.xml to work correctly, the missing dependencies for the Generic Text Editor have to be added.

For Gradle Properties the content type configuration should use the full file name gradle.properties without a separate entry for the file extension, so that these files are opened with the Generic Text Editor and other property files are still handled by the Properties File Editor.

donat commented 7 months ago

I've tested your changes and it does fix the editor association issue. It's not documented in the PR's title, but you also fixed the editor association for the .gradle.kts files 🎉 .

donat commented 7 months ago

Thank you for the contribution!