https://kotlinlang.org logo
Join SlackCommunities
Powered by
# eclipse
  • w

    willhains

    06/08/2017, 11:58 AM
    set the channel description: Using Kotlin in Eclipse
  • w

    willhains

    06/10/2017, 1:44 AM
    I’m having trouble with the Kotlin Eclipse plugin.
  • w

    willhains

    06/10/2017, 1:47 AM
    I’m having trouble with the Kotlin Eclipse plugin. - Settings panes have nothing in them (except the code template settings) - Kotlin files are not syntax-highlighted - Kotlin files don’t compile, and their types can’t be referenced from other files (Kotlin or Java) - There’s an error in the Error Log view that says “Failed to retrieve IFile from editor org.jetbrains.kotlin.ui.editors.KotlinFileEditor”
  • w

    willhains

    06/10/2017, 1:47 AM
    Anyone else having this problem?
  • m

    Michael

    08/22/2017, 3:22 PM
    Hey room. Trying to add kotlin to an existing maven project. I altered the pom according to Kotlin docs for adding to a java project, and It builds fine from the command line. But in Eclipse, even with the Kotlin Eclipse Plugin - the java classes can’t find the Kotlin classes. Anything I should look into?
    • 1
    • 1
  • g

    gtnarg

    10/16/2017, 5:21 PM
    I have a kotlin component built and deployed with maven. When I reuse that component (ie., maven dependency) in a plain java project from eclipse, with the kotlin maven plugin installed - should I be able to debug the kotlin code (i.e. set breakpoints etc)? Currently, I can step into the code, but am not able to set any breakpoints.
  • j

    Jacol

    01/22/2018, 7:58 PM
    Hi, I am getting an error under Eclipse and I do not know how to fix it. when I try to build from http://start.spring.io/ "Generate a Gradle Project with Kotlin and Spring Boot 2.0.0 m7" Import Project -> waiting -> find class containing "fun main"😄 -> and run As -> Kotlin Application ->I get an error:
    Copy code
    EXCEPTION: org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Couldn't inline method call 'runApplication' into
    public fun main(args: kotlin.Array<kotlin.String>): kotlin.Unit defined in pl.app.app[SimpleFunctionDescriptorImpl@636cba5e]
    fun main(args: Array<String>) {
        runApplication<AppApplication>(*args)
    	val x = args.joinToString()
        println("sasasa $x")
    }
    Cause: Not generated
    Cause: Cannot inline bytecode of class org/springframework/boot/SpringApplicationExtensionsKt which has version 52. This compiler can only inline Java 1.6 bytecode (version 50)
    File being compiled and position: (10,5) in G:/praca/spring/app/src/main/kotlin/pl/app/app/AppApplication.kt
    PsiElement: runApplication<AppApplication>(*args)
    The root cause was thrown at: InlineCodegenUtil.java:157
    	at org.jetbrains.kotlin.codegen.inline.InlineCodegen.throwCompilationException(InlineCodegen.java:203)
    when I start using ./gradlew bootRun is fine what am I doing wrong?
  • g

    gtnarg

    02/14/2018, 3:44 PM
    I'm getting the following error in Eclipse - the project where it is occurring depends on a Kotlin component but is itself a java project. The project builds fine from the commandline with Maven.
    Eclipse_Error.kt
  • h

    horse_badorties

    05/21/2018, 1:20 PM
    What's the status of the Eclipse plugin? When I last looked some month ago the consensus was that it's pretty much dead. I see that it still hasn't reached a 1.x version and this channel doesn't look particularly crowded as well, so no big hopes it seems. But I realized that the plugin got last updated in April 2018, so maybe there is life left?! I would so much love to try to get a dose of Kotlin into our project but it's Eclipse and nothing to do about it.
  • h

    horse_badorties

    05/25/2018, 10:43 AM
    I hear your silence loud and clear! 😅
  • h

    horse_badorties

    05/25/2018, 10:46 AM
    too bad, I really believe K would benefit from top-notch Eclipse support - there's a huge bunch of Java projects/teams out there for which switching IDE is not an option.
  • h

    horse_badorties

    05/25/2018, 10:47 AM
    Recources at JetBrains are limited, so it's understandable of cause
  • h

    horse_badorties

    05/25/2018, 11:12 AM
    just found the following - has there been further information about it somewhere?
  • h

    horse_badorties

    05/25/2018, 11:12 AM
    https://discuss.kotlinlang.org/t/current-state-of-eclipse-plugin/4979/6
  • c

    Czar

    05/25/2018, 3:58 PM
    Just became aware that a team in our company that I was going to introduce to Kotlin is using eclipse for development, came here to see what eclipse people feel about K Seems they feel abandoned 😕 While I understand that IJ has priority (hell, I even like it, being IJ IU user myself), abandoning 38% of potential users (according to this: http://www.baeldung.com/java-in-2018) seems like a strange move...
  • c

    Czar

    05/25/2018, 4:10 PM
    @yole could you please comment on this? Is the specific plan still alive and if it is, what plan is it? Should we wait and hope, or just somehow convince eclipse crowd that paying for IJ is better than staying with their favourite free IDE? 🙂 I actually do try that convincing part from time to time, but fail much more often than not 😕
  • h

    horse_badorties

    05/26/2018, 12:15 PM
    I have a hard time believing that Eclipse should only account for 38% of potential users (i.e. current Java users). At least my daily business - financial industry in Germany - still is Eclipse dominated, if anything. At least that's what I see and what I hear from fellow developers. You can find completely different numbers as well, if you want to - like http://pypl.github.io/IDE.html
  • c

    Czar

    05/26/2018, 1:14 PM
    The link you've shared is overall, and baeldung is specifically Java...
  • c

    Czar

    05/26/2018, 1:16 PM
    But you're right about the fact that 38% maybe skewed a bit, because it's only one specific resource. I can say that even though I'm aware about that blog/site existence, I'm not a regular and haven't participated in that survey. My aim here was to give an example, actual %age doesn't really matter, 38 is big enough in a big enough sample.
  • h

    horse_badorties

    05/27/2018, 11:02 AM
    we keep chatting away with ourselves here. 😅 Anyway - looking at the last comment of https://youtrack.jetbrains.com/issue/KE-60 it seems that a new plugin release is in the making.
  • h

    heruan

    12/04/2018, 2:21 PM
    Hello, I'm approaching Kotlin and I'm trying to get it running on Eclipse. I've installed the plugin as instructed in the docs, but I get an error when try to edit a Kotlin file:
    Copy code
    Plug-in org.jetbrains.kotlin.ui was unable to load class org.jetbrains.kotlin.ui.editors.KotlinFileEditor
  • h

    heruan

    12/04/2018, 2:22 PM
    Stacktrace:
    Copy code
    !ENTRY org.eclipse.ui 4 4 2018-12-04 15:22:20.689
    !MESSAGE Unable to create editor contributor: org.jetbrains.kotlin.ui.editors.KotlinFileEditor
    !SUBENTRY 1 org.eclipse.equinox.registry 4 1 2018-12-04 15:22:20.689
    !MESSAGE Plug-in org.jetbrains.kotlin.ui was unable to load class org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditorActionContributor.
    !STACK 0
    java.lang.ClassNotFoundException: org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditorActionContributor cannot be found by org.jetbrains.kotlin.ui_0.8.10.v20181122-1307
  • h

    heruan

    12/04/2018, 2:33 PM
    Opened https://youtrack.jetbrains.com/issue/KE-291
  • h

    heruan

    12/06/2018, 9:18 PM
    Quite desolated here, huh? 🙁
  • h

    heruan

    12/06/2018, 9:18 PM
    I wonder if anybody is experiencing the same issue I reported.
  • a

    alex

    01/24/2019, 4:13 PM
    I tried eclipse-kotlin plugin, and it's nowhere production ready. I'd like to introduce kotlin to colleges, but sadly, it's no good. Kotlin advertise support for Eclipse/NetBeans in the official FAQ, but it's more like a joke, especially that NetBeans plugin had been deprecared and has 0 development since 2016. It seems like JB is more focused on big Android market (they even postpone some features like jlink modularization support by almost a year because of this).
    c
    • 2
    • 4
  • a

    Alina Dolgikh [JB]

    03/08/2021, 10:48 AM
    📢 Hi everyone! The Kotlin team is conducting research to better understand the needs of Eclipse users. We would appreciate it if you answer this quick, 5-question survey (~ 3 minutes to complete). Thanks! https://surveys.jetbrains.com/s3/kotlin-eclipse-s3
  • e

    Ellen Spertus

    08/17/2022, 7:36 PM
    Is Eclipse a viable Kotlin platform nowadays? I'll be teaching a class using Kotlin this fall. I'm happy with IntelliJ in general but just ran into a big annoyance. https://intellij-support.jetbrains.com/hc/en-us/community/posts/7178879949842-Is-there-a-way-to-set-Actions-on-Save-for-all-new-projects-
  • t

    Tobias Hahnen

    06/21/2023, 3:23 PM
    Hello everyone, I'm curious if there is a possible roadmap for this Kotlin plugin? Is it still actively developed on, the repo seems to be very quiet, or if it already went to maintenance mode or is EOL or sth. like this? I'm working on SonarLint for Eclipse (not meant as advertisement imo) as an active developer and based on that we might take some time create more support in our plugin for Kotlin in Eclipse if the plugin is still actively used and forseeable maintained (with that I mean at least maintenance updates for a few months or years or handeling it like "it just works").