Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2019-05-10 opened this issue Apr 15, 2024 · 7 comments
Open

Comments

@2019-05-10
Copy link

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
Copy link

vghero commented Apr 25, 2024

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
Copy link

packpaul commented May 4, 2024

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
Copy link
Owner

bvfalcon commented May 8, 2024

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
Copy link

packpaul commented May 8, 2024

@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
Copy link
Owner

bvfalcon commented May 8, 2024

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
Copy link
Author

2019-05-10 commented May 14, 2024

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
Copy link

vghero commented May 22, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants