playframework icon indicating copy to clipboard operation
playframework copied to clipboard

[FeatureRequest] Support for Eclipse

Open eximius313 opened this issue 5 years ago • 6 comments

Could you please support Eclipse as well?

eximius313 avatar Oct 28 '20 14:10 eximius313

This is more likely to be an issue/feature against buildship.

A PR would be welcome there.

https://github.com/eclipse/buildship

JLLeitschuh avatar Jan 19 '21 19:01 JLLeitschuh

I'm going to close this issue out as I don't think that there's anything we can do on our end for this. I could be wrong though. If I am wrong, please don't hesitate to open a ticket. PRs that are well tested are also welcome.

JLLeitschuh avatar Jan 19 '21 19:01 JLLeitschuh

@JLLeitschuh , so why this plugin can support IntelliJ IDEA (https://gradle.github.io/playframework/#limitations), but not Eclipse?

eximius313 avatar Jan 20 '21 06:01 eximius313

I'm not actually certain. It may require writing out some eclipse configuration files. 🤔

Maybe that could be done from this plugin instead. I'll re-open this.

Are you interested in investigating and/or creating a PR for this?

JLLeitschuh avatar Jan 21 '21 15:01 JLLeitschuh

I could help with testing :)

eximius313 avatar Jan 21 '21 21:01 eximius313

The reason we have a separate IDEA plugin for Play is because that's what the old plugin did. The only reason the old plugin did that was because it didn't use the current model Java/Scala plugin.

Now that we're using those plugins (and not the software model ones), we should be able to configure SourceSets in the right way to avoid almost everything that's happening in PlayIdeaPlugin and Eclipse should "just work".

It's possible that Eclipse might work now. I suspect the only thing missing are the non-standard resource directories, which could be added manually to the build configuration.

big-guy avatar Jan 22 '21 01:01 big-guy