Skip to content
This repository was archived by the owner on Sep 17, 2023. It is now read-only.

Editor setup

Emiliano Ruiz Carletti edited this page Oct 19, 2021 · 3 revisions

Vim / Neovim

nvim-lspconfig

Native LSP client. Not recommended since JDTLS is non-standard and clients without specific configurations won't fully support it.

You can still use it by passing the cmd like this:

require'lspconfig'.jdtls.setup({ cmd = { 'jdtls' } })

nvim-jdtls

The most complete JDTLS client for neovim: nvim-jdtls.

Follow the installation instructions in that repo and when you configure start_or_attach provide the cmd like this:

require('jdtls').start_or_attach({ cmd = { 'jdtls' } })
Clone this wiki locally