bvfalcon / kotlin-eclipse-2024

Enhanced Kotlin Plugin for Eclipse
https://marketplace.eclipse.org/content/enhanced-kotlin-eclipse
Apache License 2.0
48 stars 7 forks source link

Does not work w/ 2024-03, won't even compile - can we help somehow? #38

Open 2019-05-10 opened 5 months ago

2019-05-10 commented 5 months ago

Is there anything we can do to help and make this work? I have to use Kotlin now, had to test IntelliJ and am ... underwhelmed. Would prefer Eclipse.

vghero commented 5 months ago

Similar thing I can see here. Some classes have difficulties to compile. Most of the time when I try to look at the .kt file to see what it complains about, eclipse simply freezes. But some enum issues seem related to 1.9 version which is experimental in the plugin as it seems.

I'm also confused what version to take. On the one hand the readme says on top "Kotlin for Eclipse 2020-09 and later", on the other hand there are recent versions below stopping at "Last version Kotlin for Eclipse 2023-09". Bold should indicate we should use the first one? If so, maybe a sentence could help here or just dropping the ones below :)?

packpaul commented 4 months ago

Hi! The same thing happened to me yesterday: I was sticking around with 2023-03 version of Eclipse IDE but then had to downgrade to 2021-03 (the version I use for older projects). Then, when I tried to write a simple HelloWorldKotlin application, following this tutorial a nasty bug appeared after trying to run it:

Kotlin-Unable to find or load main class error ...

Though this tutorial has helped. I'm not a big fan of ItelliJ Ideal (I've been using Eclipse IDE for a very long time and it is always a pain in the a.. to start with something new) but if I experience the same problems trying to couple a Kotlin project with Gradle in Eclipse I'll have to move over.

bvfalcon commented 4 months ago

I have made some adaptations of Kotkin-eclipse for Eclipse IDE 2024-03. Please try to use this repository to update. A little bit later changes will be moved to Eclipse marketplace

packpaul commented 4 months ago

@bvfalcon Can we expect to see any improvements for this plug-in in the future, since it is very hindering to be bound to a certain IDE (I mean InteliJ IDEA) when coding Kotlin. For example a smoother Gradle integration would be nice. I have already a bunch of use-cases.

bvfalcon commented 4 months ago

it is very hindering to be bound to a certain IDE (I mean InteliJ IDEA) when coding Kotlin

The same for me. I am using Eclipse IDE for many years and going to use it in future.

Can we expect to see any improvements for this plug-in in the future

For my aims is enough to adapt Kotlin-eclipse for latest versions of Eclipse IDE. But sometimes users make code donations with new functionality. I accept such changes too. It is excellent, that developers not only use plugin but improve it. So Open Source works and this is great.

a smoother Gradle integration would be nice. I have already a bunch of use-cases.

How you/your company are interested in this functionality? If your interest is serious, you could develop it or pay developers efforts. I will be glad to become your code donations. In repository history you can find many commits of other developers, who makes their code donations to development of this plugin.

2019-05-10 commented 4 months ago

I have made some adaptations of Kotkin-eclipse for Eclipse IDE 2024-03. Please try to use this repository to update. A little bit later changes will be moved to Eclipse marketplace

Repo is not accepted by Eclipse -- disappears again right after adding. Trying to access that link via browser results in downloading an empty file with a random name -- usually, repo links show some sort inaccessibility message or XML when opening in browser.

vghero commented 4 months ago

Hey, thanks for taking a look. I just updated to the given repository's version. For me nothing changed really :). Still errors around not supported when clauses. I could open now some .kt files without crashing though - let me try further.

In general I'm wondering how to add support for 1.9+ kotlin version. Is this something the plugin has "actively" to support or is it just providing are more uptodate kotlin jar with the plugin? What is stopping the plugin to support 1.9?