nvim-jdtls
mason-nvim-dap.nvim | nvim-jdtls | |
---|---|---|
12 | 75 | |
458 | 940 | |
- | - | |
5.1 | 6.6 | |
29 days ago | 6 days ago | |
Lua | Lua | |
GNU Affero General Public License v3.0 | 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.
mason-nvim-dap.nvim
-
is there a project similar to nvim-lsp-zero to nvim-dap?
I think mason-nvim-dap.nvim is what you are looking for.
- Your favourite Neovim plugins?
-
Help setting up a debugger for javascript? PHP?
Iād recommend using mason-nvim-dap which helps you automatically set up the daps
-
What has been people's experience with nvim-dap? Or integrating the debugging experience within Neovim itself?
This has always been an interest of mine, but it seems like a pain to setup. And I'm not even sure it would be worth it. The [mason-nvim-dap(https://github.com/jay-babu/mason-nvim-dap.nvim) makes me really reconsider, but I'm curious to what everyone's experience is?
-
mason-nvim-dap.nvim and mason-null-ls.nvim plugin updates
The only concern about these plugins is that I'm not sure about if all the sources in mason are supported, since https://github.com/jay-babu/mason-nvim-dap.nvim/blob/main/lua/mason-nvim-dap/mappings/source.lua and https://github.com/jay-babu/mason-null-ls.nvim#available-null-ls-sources don't seem to include all the mason-supported non-LSPs and DAPs.
-
Automatic setup for cpptools installed with MasonInstall
I tried to add plugin : https://github.com/jay-babu/mason-nvim-dap.nvim
-
Help(noob alert)
If you're using mason.nvim to install the adapters mason-nvim-dap.nvim aims to make set up much easier.
-
Debugging setup is hard for me
Checkout https://github.com/jay-babu/mason-nvim-dap.nvim. it should make this process easier for supported protocols
-
How do I debug a node.js program with nvim-dap and node-debug2-adapter?
Off topic: you should check out, https://github.com/jayp0521/mason-nvim-dap.nvim. might help reduce the amount of configuration in the future
-
What are good configs for java?
mason-nvim-dap.nvim
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?
debugpy - An implementation of the Debug Adapter Protocol for Python
nvim-lspconfig - Quickstart configs for Nvim LSP
other.nvim - Open alternative files for the current buffer
eclipse.jdt.ls - Java language server
jc.nvim - Java autocompletion for neovim
nvim-lsp-installer - Further development has moved to https://github.com/williamboman/mason.nvim!
mason-null-ls.nvim
coc-java - Java extension for coc.nvim
nvim-lastplace - A Lua rewrite of vim-lastplace
java-debug - The debug server implementation for Java. It conforms to the debug protocol of Visual Studio Code (DAP, Debugger Adapter Protocol).
harpoon
mason.nvim - Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.