How to install different version of jdtls #286
-
how can I install different version of jdtls? running the command config: local servers = { "tsserver", "jsonls", "sumneko_lua", "pyright", "gopls", "jdtls" }
require("mason-lspconfig").setup({
ensure_installed = servers,
automatic_installation = { exclude = "jdtls" },
})
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
Hey! Try Btw, ensure_installed = { "jdtls@v0.12.0" } |
Beta Was this translation helpful? Give feedback.
-
@williamboman Thx for you answare!. I just tried complete log
|
Beta Was this translation helpful? Give feedback.
Hey! Try
:MasonInstall jdtls@v0.12.0
.Btw,
ensure_installed
andautomatic_installation
are independent of one another, and does different things. You can also include version numbers in the ensure installed list, like