flutter-tools.nvim
nvim-jdtls
flutter-tools.nvim | nvim-jdtls | |
---|---|---|
22 | 75 | |
890 | 931 | |
- | - | |
7.7 | 7.0 | |
17 days ago | 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.
flutter-tools.nvim
- My Dashboard / Theme setup
-
flutter plugin
https://github.com/akinsho/flutter-tools.nvim Use through code action
- How to configure neovim for flutter?
-
nvim-cmp + coc.nvim?
• first is DAP, it breaks the app, I don’t think dap breakpoints work as well • second is running code actions from outline window https://github.com/akinsho/flutter-tools.nvim/issues/244 (I just discovered I can run from code with lsp bug code actions, so this is trivial)
-
With LSP, how do you add a custom server?
have you tried this plugin?
-
What code editor do you use for Flutter?
This will get you most of the way there.
-
How to make flutter-tools work on LazyVim?
Long time lurker, first time poster here. First off, I am still in the process migrating to Nvim from VSCode, so sorry if my question is noobish. I'm trying to use nvim for Flutter development with the help of the flutter-tools plugin. I managed to get it working when using my own config with Packer.
-
Anybody able to install Dart / Flutter LSP in AstroNvim ?
if you already have flutter installed in your system then you should already have dartls. I find that using this plugin works and there is no need to configure it in lspconfig
- neovim for flutter
-
AstroNvim 2.4
There is flutter-tools.nvim that helps provide good integration with the native LSP in Neovim and utilize all of the features. We also have a section in the AstroNvim docs about setting up language server specific plugins nicely in the user configuration and have an example snippet for setting up flutter-tools: https://astronvim.github.io/Recipes/advanced_lsp#lsp-specific-plugins
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?
LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.
nvim-lspconfig - Quickstart configs for Nvim LSP
eclipse.jdt.ls - Java language server
coc-flutter - flutter support for (Neo)vim
nvim-lsp-installer - Further development has moved to https://github.com/williamboman/mason.nvim!
vim-lsp-settings - Auto configurations for Language Server for vim-lsp
coc-java - Java extension for coc.nvim
neovim - Vim-fork focused on extensibility and usability
java-debug - The debug server implementation for Java. It conforms to the debug protocol of Visual Studio Code (DAP, Debugger Adapter Protocol).
nvim-tree.lua - A file explorer tree for neovim written in lua
mason.nvim - Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.