You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have this repository that's preconfigured for java development. You can directly clone the repository and personalize from there.
Instruction to Setup
Install nvim-java plugin
'nvim-java/nvim-java'
Add jdtls setup function to mason-lspconfig setup handlers
jdtls=function()
require('java').setup {
-- Your custom jdtls settings goes here
}
require('lspconfig').jdtls.setup {
-- Your custom nvim-java configuration goes here
}
end
Add java treesitter parser to ensure_installed list