beande
nvim-jdtls
beande | nvim-jdtls | |
---|---|---|
8 | 75 | |
17 | 926 | |
- | - | |
4.5 | 7.0 | |
29 days ago | about 2 months ago | |
Lua | Lua | |
MIT License | GNU General Public License v3.0 only |
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.
beande
-
What are good configs for java?
If you want to reference a configure for Neovim to work with Java, you can try my config here: baobaoit/beande
-
adding lombok to neovim
Here is the rule as the XML format: eclipse-java-google-style.xml
- Decided to share my java ide with the community
-
Up to date guide on adapting nvim for Java development?
You can try a workaround, when you are comfortable with lua script, you can look at my repository beande - the Java IDE on Neovim. This repository is [W.I.P] so the README is not up-to-date yet.
-
How to make vim smart like Jetbrains IDE ?
Iām moving from IntelliJ to Neovim. I have the idea like as you. The problem with not rename var in many files is because the setting about your project or root_dir is incorrect. You can check my configure file at https://github.com/baobaoit/beande on the branch main or development. The README.md is not up-to-date. I use lspconfig + jdtls (I clone the jdtls repository and build it) or you can try nvim-jdlts, almost key mapping is from lspconfig guide.
-
jdtls nvim settings
Iām a Java Developer, I used to try nvim-jdtls but seems like it is not completely yet. So I switched to nvim-lspconfig with require('lspconfig').jdtls.setup{} and back port / reuse some functions of nvim-jdtls. You can look at my init.lua: https://github.com/baobaoit/NVimConfigForJava/blob/development/init.lua . The repository is W.I.P. Hope this can help you.
-
Advice for a fairly newbie in NVim willing to switch from coc to native LSP
For Java, you can look at my repository (W.I.P): https://github.com/baobaoit/NVimConfigForJava/blob/development/init.lua
nvim-jdtls
-
Having the worst time trying to use JDTLS
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
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
-- 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
I can get by with https://github.com/mfussenegger/nvim-jdtls
-
[HELP] ftplugin and lazy loading in NvChad
This and this provided no viable solutions for me
- Anyone using nvim for Kotlin development?
-
Help for configure jdtls
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
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?
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
Here' my java.lua for nvim-jdtls which solves the nil issue and add more features.
What are some alternatives?
AstroNvim - AstroNvim is an aesthetic and feature-rich neovim config that is extensible and easy to use with a great set of plugins
nvim-lspconfig - Quickstart configs for Nvim LSP
nvim - My neovim configuration, as it is my weapon of choice. Setting it up for nim-lang was a priority, autocompletion and navigation.
eclipse.jdt.ls - Java language server
rust-tools.nvim - Tools for better development in rust using neovim's builtin lsp
nvim-lsp-installer - Further development has moved to https://github.com/williamboman/mason.nvim!
refactoring.nvim - The Refactoring library based off the Refactoring book by Martin Fowler
coc-java - Java extension for coc.nvim
AstroVim - AstroNvim is an aesthetic and feature-rich neovim config that is extensible and easy to use with a great set of plugins [Moved to: https://github.com/AstroNvim/AstroNvim]
java-debug - The debug server implementation for Java. It conforms to the debug protocol of Visual Studio Code (DAP, Debugger Adapter Protocol).
nvim-lsp-ts-utils - Utilities to improve the TypeScript development experience for Neovim's built-in LSP client.
mason.nvim - Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.