Versions Compared

Key

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

Kotlin programming language is supported in a number of ways:

  • Kotlin plugin donated by JetBrains (obsolete)
  • Kotlin Language Server

...

JetBrains Kotlin plugin (obsolete)

Donated by JetBreains.

Original URL: https://github.com/JetBrains/kotlin-netbeans

...

Once you build the project, all Java and NetBeans dependencies should be resolved. However, not the project also contains a lot of 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 and all the compilation errors need to be fixed.


Language Feature SupportStatus
File type recognition
Project type
Semantic syntax highlighting
Formatting
Braces matching
Error Hints/Fixes/Suggestions
Code completion
Code templates
Refactoring
Debugging


Kotlin LSP

...

With the support of Microsoft's Language Server Protocol since NetBeans 12.x and later already provide some basic support in the , java/kotlin.editor module . This should be the plugin that should be further developed. It uses provides some basic support for Kotlin.

One . This JavaDoc explains how to integrate a TextMate lexer with NetBeans.With this plugin one can open a .kt file via the Windows→Favourites tab.There are also contrib/groovy.grails and contrib/groovy.grailsproject. Syntax highlighting and bracket matching should be available.

The first time that you open a.kt file, a hint will appear on the top left of the editor that will prompt you to install the Kotlin LSP.

Image Added

Image Added

Do so in order to add features like code completion and navigation to your editor.


Language Feature SupportStatus
File type recognition
Project type
Semantic syntax highlighting
Formatting
Braces matching
Code completion
Error Hints/Fixes/SuggestionsCode completion
Code templates
Refactoring
Debugging