Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. The pom.xml requires some dependencies that are not in the central maven repository. These are: asm-all.jar, idea-formatter.jar, intellij-core.jar, kotlin-converter.jar, kotlin-formatter.jar, kotlin-ide-common.jar, openapi-formatter.jar.  intellij-core.jar artifact could be directly taken from: https://www.jetbrains.com/intellij-repository/releases. The other artifacts can be found at https://github.com/JetBrains/kotlin-eclipse project inside the kotlin-bundled-compiler folder. Once you have collected all these libraries, create a lib folder inside kotlin-netbeans project and paste them inside there.
  2. In NetBeans, click on Tools → Plugins → Settings tab and add a new plugin Portal: Name: NetBeans 8.2 Plugin Portal, URL: http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz. Make it active.

Once you build the project, all Java and NetBeans dependencies should be resolved. However, not the Kotlin code which throws a lot of compilation errors. The plugin contains Kotlin code that needs to be built/migrated to the latest Kotlin compiler version . Anyone fluent in Kotlin is welcome to work with Ioannis to do that.and all the compilation errors need to be fixed.

LSP Kotlin Plugin

However, NetBeans 12.x and later already provides provide some basic support via the java/kotlin.editor module. One can open a .kt file via the Windows→Favourites tab.

...