kotlin-eclipse-2022 icon indicating copy to clipboard operation
kotlin-eclipse-2022 copied to clipboard

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

Open 2019-05-10 opened this issue 10 months ago • 7 comments

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.

2019-05-10 avatar Apr 15 '24 15:04 2019-05-10

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 :)?

vghero avatar Apr 25 '24 15:04 vghero

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.

packpaul avatar May 04 '24 05:05 packpaul

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

bvfalcon avatar May 08 '24 11:05 bvfalcon

@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.

packpaul avatar May 08 '24 12:05 packpaul

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.

bvfalcon avatar May 08 '24 16:05 bvfalcon

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.

2019-05-10 avatar May 14 '24 07:05 2019-05-10

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?

vghero avatar May 22 '24 08:05 vghero