KotlinLanguageServer VS nvim-jdtls

Compare KotlinLanguageServer vs nvim-jdtls and see what are their differences.

KotlinLanguageServer

Kotlin code completion, diagnostics and more for any editor/IDE using the Language Server Protocol (by fwcd)

nvim-jdtls

Extensions for the built-in LSP support in Neovim for eclipse.jdt.ls (by mfussenegger)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
KotlinLanguageServer nvim-jdtls
22 75
1,489 931
- -
8.9 7.0
30 days ago about 2 months ago
Kotlin Lua
MIT License GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

KotlinLanguageServer

Posts with mentions or reviews of KotlinLanguageServer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-09.
  • Kotlin is a much better language than Java even with all the new stuff Java has added.
    1 project | /r/Kotlin | 11 Dec 2023
    There's a community-made one, but of course as much effort as has been put into it it's not as featureful as JetBrains's own stuff.
  • Noob here, would neovim work for my usecase
    2 projects | /r/neovim | 9 Dec 2023
    Kotlin is probably the worst case for Neovim. While there is a language server for Kotlin, it's not very advanced and does not look like it's actively developed.
  • Kotlin on VScode, intellij, or android studio?
    1 project | /r/Kotlin | 23 Jun 2023
    Hi, if you are going to do Kotlin the easiest choice is android studio with Kotlin plugin. Using Vscode is more tricky because Jetbrains does not want to support lsp for Kotlin so you only have https://github.com/fwcd/kotlin-language-server available to write Kotlin on Vscode.
  • I LOVE Rust's exception handling
    3 projects | /r/rust | 10 May 2023
    Kotlin Language Server puts a warning on this code, because the bar inside the lambda shadows the function argument bar. Flow typing solves this problem by eliminating the need to redefine bar as a new non-nullable variable in the branch where we've verified it's non-nullable.
  • Kotlin is tightly linked to IntelliJ and that's a risk
    4 projects | /r/Kotlin | 22 Jan 2023
    You want to change something about that? Go and help over at the kotin lsp server. It's maintained, and welcomes contributions. I sometimes use it in my day job (writing Kotlin backend code)
  • Kotlin 1.8.0 Released
    1 project | /r/programming | 17 Jan 2023
    There is https://github.com/fwcd/kotlin-language-server, but I wouldn't expect something more official from a company that refuse to support LSP in their IDEs. JetBrains is the Apple of the IDE world.
  • What are best plugins for C++, Java, Kotlin, Python, & LaTex
    9 projects | /r/neovim | 30 Dec 2022
    Oddly enough, we use mostly the same languages. However, I would advise against using neovim with Kotlin: its language server has an excessive memory usage and its debugger is cumbersome with neovim (I haven't managed to get it working, and currently it also lacks an entry in nvim-dap's wiki).
  • From zero to 10M lines of Kotlin
    9 projects | news.ycombinator.com | 25 Oct 2022
    I'll bring up the Kotlin LSP[0] every time I see Kotlin on HN because I really hope the LSP takes off (which would make it viable to use Kotlin with a non-IntelliJ editor).

    Kotlin as a language looks really cool, but I don't want to give up terminal-based, modal editing (which I'd have to in order to use IntelliJ).

    Along those lines, I once tried diving into using Gradle outside IntelliJ, and I couldn't find any good resources to help with that. If folks have hints/links-to-blog-posts with regards to that as well, that'd be great!

    [0] https://github.com/fwcd/kotlin-language-server#this-reposito...

  • Idea: Jetbrains Fleet's Code Engine as an LSP?
    4 projects | /r/neovim | 15 Oct 2022
    I've tried [this Kotlin LSP](https://github.com/fwcd/kotlin-language-server) and it isn't perfect. It's not complete, but it does some of the basic things.
  • Kotlin language server doesn't work ("0 client(s) attached to this buffer")
    2 projects | /r/neovim | 3 Jun 2022
    I've downloaded kotlin language server from here: https://github.com/fwcd/kotlin-language-server

nvim-jdtls

Posts with mentions or reviews of nvim-jdtls. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-09.
  • Having the worst time trying to use JDTLS
    1 project | /r/neovim | 11 Dec 2023
    I recommend that you do not configure jdtls like the other language servers, it is better to use the nvim-jdtls plugin.
  • Noob here, would neovim work for my usecase
    2 projects | /r/neovim | 9 Dec 2023
    Java is actually pretty good with Neovim, jdtls and this plugin. One of the best language servers and I'm using it on a regular base with medium to large projects, mostly spring-based. No Android though.
  • Client 2 quit with exit code 1 and signal 0 when opening a .java files
    2 projects | /r/neovim | 10 Nov 2023
    -- See `:help vim.lsp.start_client` for an overview of the supported `config` options. local config = { -- The command that starts the language server -- See: https://github.com/eclipse/eclipse.jdt.ls#running-from-the-command-line cmd = { -- 💀 'java', -- or '/path/to/java17_or_newer/bin/java' -- depends on if `java` is in your $PATH env variable and if it points to the right version. '-Declipse.application=org.eclipse.jdt.ls.core.id1', '-Dosgi.bundles.defaultStartLevel=4', '-Declipse.product=org.eclipse.jdt.ls.core.product', '-Dlog.protocol=true', '-Dlog.level=ALL', '-Xmx1g', '--add-modules=ALL-SYSTEM', '--add-opens', 'java.base/java.util=ALL-UNNAMED', '--add-opens', 'java.base/java.lang=ALL-UNNAMED', -- 💀 '-jar', '~/.local/share/nvim/mason/packages/jdtls/plugins/org.eclipse.equinox.launcher_1.6.500.v20230717-2134.jar', -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ -- Must point to the Change this to -- eclipse.jdt.ls installation the actual version -- 💀 '-configuration', '~/.local/share/nvim/mason/packages/jdtls/config_linux', -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ -- Must point to the Change to one of `linux`, `win` or `mac` -- eclipse.jdt.ls installation Depending on your system. -- 💀 -- See `data directory configuration` section in the README '-data', '/path/to/unique/per/project/workspace/folder' }, -- 💀 -- This is the default if not provided, you can remove it. Or adjust as needed. -- One dedicated LSP server & client will be started per unique root_dir root_dir = require('jdtls.setup').find_root({'.git', 'mvnw', 'gradlew'}), -- Here you can configure eclipse.jdt.ls specific settings -- See https://github.com/eclipse/eclipse.jdt.ls/wiki/Running-the-JAVA-LS-server-from-the-command-line#initialize-request -- for a list of options settings = { java = { } }, -- Language server `initializationOptions` -- You need to extend the `bundles` with paths to jar files -- if you want to use additional eclipse.jdt.ls plugins. -- -- See https://github.com/mfussenegger/nvim-jdtls#java-debug-installation -- -- If you don't plan on using the debugger or other eclipse.jdt.ls plugins you can remove this init_options = { bundles = {} }, } -- This starts a new client & server, -- or attaches to an existing client & server depending on the `root_dir`. require('jdtls').start_or_attach(config)
  • Foot – A fast, lightweight and minimalistic Wayland terminal emulator
    1 project | news.ycombinator.com | 23 Sep 2023
    I can get by with https://github.com/mfussenegger/nvim-jdtls
  • [HELP] ftplugin and lazy loading in NvChad
    2 projects | /r/neovim | 11 Jun 2023
    This and this provided no viable solutions for me
  • Anyone using nvim for Kotlin development?
    1 project | /r/nvim | 30 May 2023
  • Help for configure jdtls
    1 project | /r/neovim | 16 May 2023
    I tried to configure jdtls for my NeoVim I followed https://github.com/mfussenegger/nvim-jdtls install instruction. and I faced this error does anyone successfully configured jdtls ? help T ^ T
  • Adding JAR files to nvim-jdtls
    1 project | /r/neovim | 6 May 2023
    Am I adding it to the wrong configuration option? Some places I see it added as a referencedLibary - https://github.com/mfussenegger/nvim-jdtls
  • Does anyone config java for neovim?
    7 projects | /r/neovim | 25 Apr 2023
    Sure. Any server that lspconfig supports will work. But for java development is better if you use nvim-jdtls. The documentation in lsp-zero has a guide on how to setup nvim-jdtls.
  • I can't seem to figure it out
    3 projects | /r/neovim | 24 Apr 2023
    Here' my java.lua for nvim-jdtls which solves the nil issue and add more features.

What are some alternatives?

When comparing KotlinLanguageServer and nvim-jdtls you can also consider the following projects:

nvim-lspconfig - Quickstart configs for Nvim LSP

kickstart.nvim - A launch point for your personal nvim configuration

eclipse.jdt.ls - Java language server

kotlin-vim - Kotlin plugin for Vim. Featuring: syntax highlighting, basic indentation, Syntastic support

nvim-lsp-installer - Further development has moved to https://github.com/williamboman/mason.nvim!

intellij-community - IntelliJ IDEA Community Edition & IntelliJ Platform

coc-java - Java extension for coc.nvim

kotlin-textmate-bundle - Textmate bundle for the Kotlin programming language

java-debug - The debug server implementation for Java. It conforms to the debug protocol of Visual Studio Code (DAP, Debugger Adapter Protocol).

vscode-kotlin - Kotlin language support for VS Code

mason.nvim - Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.