eclipse-buildship / buildship

The Eclipse Plug-ins for Gradle project.
535 stars 171 forks source link

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

Closed oleosterhagen closed 10 months ago

oleosterhagen commented 11 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 10 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 10 months ago

Thank you for the contribution!