Search this site

    Articles

    DevTools

    Nineteen articles on using Neovim and LazyVim as a Java and Spring Boot IDE, in series order. Each one stands on its own, from installing the editor through debugging, tests, profiling, monitoring and a ready-made configuration.

    Series

    1. Neovim and LazyVim for Java: Installing the Editor, a JDK and the StarterWhat Neovim and LazyVim are, which tools they need, and how to install them with a JDK so a Spring Boot project opens with Java support. Part 1 of a series on Neovim as a Java IDE.5 min read
    2. Java Language Support in Neovim with jdtlsHow the Eclipse JDT Language Server gives Neovim completion, hover, go to definition, references and symbol search for a Spring Boot project, and how LazyVim wires it up. Part 2 of a series on Neovim as a Java IDE.4 min read
    3. Diagnostics and Quick Fixes for Java in NeovimHow compiler errors and warnings from jdtls and the Spring Boot language server appear in LazyVim, how to jump between them, list them for the whole project, and fix them with code actions. Part 3 of a series on Neovim as a Java IDE.4 min read
    4. Spring Boot Language Support in NeovimHow to add the Spring Boot language server to a LazyVim setup with spring-boot.nvim, so beans and endpoints become searchable and application.properties gets completion, hover and validation. Part 4 of a series on Neovim as a Java IDE.4 min read
    5. Refactoring Java in NeovimWhich Java refactorings jdtls offers in LazyVim, how to run them from code actions and keymaps, and where they differ from IntelliJ IDEA: extract, inline, introduce parameter, rename, move and change signature. Part 5 of a series on Neovim as a Java IDE.4 min read
    6. IntelliJ IDEA Features and Their Neovim EquivalentsA map from the IntelliJ IDEA features Java and Spring developers use most to their Neovim and LazyVim equivalents, tested on a Spring Boot project, with the gaps stated plainly. Part 6 of a series on Neovim as a Java IDE.5 min read
    7. Debugging a Spring Boot App in NeovimHow to debug a Spring Boot application in Neovim with nvim-dap and the Java debug adapter: launch the app or attach to a running JVM, set normal and conditional breakpoints, read the call stack, step, watch expressions and evaluate code while paused. Part 7 of a series on Neovim as a Java IDE.5 min read
    8. Running Java Tests in NeovimHow to run JUnit tests for a Spring Boot project from Neovim with LazyVim: a whole test class, the test under the cursor, or a picked test, and where the results appear. Part 8 of a series on Neovim as a Java IDE.4 min read
    9. Run Configurations and Maven Tasks in NeovimHow to save run and debug configurations for a Spring Boot app in a launch.json file that nvim-dap reads, and how to run Maven goals as saved tasks with overseer.nvim. Part 9 of a series on Neovim as a Java IDE.4 min read
    10. Java Flight Recorder from NeovimHow to record a Spring Boot app with Java Flight Recorder while working in Neovim: start a recording from a launch configuration or with jcmd, dump it, and read it with the JDK jfr tool inside a Neovim buffer, plus what needs an external viewer. Part 10 of a series on Neovim as a Java IDE.4 min read
    11. A Database Tool in Neovim with vim-dadbodHow to connect Neovim to a database, browse schemas and tables, run SQL and read result tables with vim-dadbod, vim-dadbod-ui and vim-dadbod-completion from LazyVim's SQL extra, tested on PostgreSQL, where H2 keeps its data and the tested workaround for it, and how it compares with IntelliJ IDEA's Database tool window. Part 11 of a series on Neovim as a Java IDE.5 min read
    12. Dockerfiles, Compose Files and Kubernetes YAML in NeovimHow LazyVim checks Dockerfiles with the Dockerfile language server and hadolint, validates Compose files and Kubernetes manifests with the YAML language server and JSON schemas, and what this setup does not cover. Part 12 of a series on Neovim as a Java IDE.4 min read
    13. Copy and Paste Between Neovim and the System ClipboardHow Neovim registers relate to the system clipboard, what LazyVim sets by default, which clipboard tool Neovim needs on Linux, macOS and Windows, and what changes over SSH and inside tmux. Part 13 of a series on Neovim as a Java IDE.4 min read
    14. Neovim Inside tmuxWhy many developers run Neovim inside tmux, a short tmux configuration that passes Neovim health checks, and a practical layout for working on a Spring Boot app with the editor, the running app and a shell side by side. Part 14 of a series on Neovim as a Java IDE.4 min read
    15. A Ready-Made Neovim Config for Spring BootA Git repository with the complete, tested Neovim configuration from this series, built on LazyVim: what is in it, how to install or try it next to your own setup, how to add per-project run configurations, and how to keep it up to date. Part 15 of a series on Neovim as a Java IDE.4 min read
    16. Practise the IDE Keys with a Game Inside NeovimIdeTrainer is a small practice game in the nvim-spring-ide configuration: timed rounds for core Vim keys in a scratch buffer and for the Java and Spring Boot IDE keys of this series in the real companion project. How to start it, how a round works, and how it was tested. Part 16 of a series on Neovim as a Java IDE.4 min read
    17. Flame Graphs from Java Flight Recorder RecordingsHow to turn a Java Flight Recorder recording of a Spring Boot app into a flame graph from Neovim: record with jcmd, convert the .jfr file to one HTML page with the async-profiler converter, cut it down to your own code, and open it in a browser, plus what still needs a desktop viewer. Part 17 of a series on Neovim as a Java IDE.4 min read
    18. Observing a Running Spring Boot App from NeovimHow to look inside a running Spring Boot app from Neovim: add Actuator without editing the project, expose health, metrics, mappings and loggers, read them with curl and jq, change a log level at runtime, and follow, search and filter the log file in Neovim. Part 18 of a series on Neovim as a Java IDE.4 min read
    19. A Complete Development Loop in NeovimHow the parts of this series fit into one day of work on a Spring Boot app: switch settings with profiles kept outside the repository, run the app, run tests, debug, look at the database, check the running app and read its logs, all from Neovim and one terminal. Part 19 of a series on Neovim as a Java IDE.4 min read

    Topic map

    The Neovim terms these 19 articles use most, and where each one comes up along the learning path. Columns follow the article numbers above; a darker cell means more mentions. Select a term to search for it.

    Neovim terms by article, in learning order. Each cell gives the number of mentions.
    Term1. Neovim and LazyVim for Java: Installing the Editor, a JDK and the Starter2. Java Language Support in Neovim with jdtls3. Diagnostics and Quick Fixes for Java in Neovim4. Spring Boot Language Support in Neovim5. Refactoring Java in Neovim6. IntelliJ IDEA Features and Their Neovim Equivalents7. Debugging a Spring Boot App in Neovim8. Running Java Tests in Neovim9. Run Configurations and Maven Tasks in Neovim10. Java Flight Recorder from Neovim11. A Database Tool in Neovim with vim-dadbod12. Dockerfiles, Compose Files and Kubernetes YAML in Neovim13. Copy and Paste Between Neovim and the System Clipboard14. Neovim Inside tmux15. A Ready-Made Neovim Config for Spring Boot16. Practise the IDE Keys with a Game Inside Neovim17. Flame Graphs from Java Flight Recorder Recordings18. Observing a Running Spring Boot App from Neovim19. A Complete Development Loop in Neovim
    LazyVim2416125810899none3571232none54
    extras119none13none6782482261none22
    jdtls10188814861110nonenone2nonenone3nonenonenonenone
    IntelliJ IDEAnone1none147423241nonenonenonenone2nonenone
    nvim-jdtls252none2223nonenonenonenonenonenonenonenonenonenonenone
    nvim-dapnonenonenonenonenone41135nonenonenonenone1nonenonenonenonenone
    java-test2nonenonenonenonenone171nonenonenonenonenone1nonenonenonenone
    vim-dadbodnonenonenonenonenone1nonenonenone1171nonenonenonenonenonenonenone
    lazy.nvim4nonenone1nonenonenonenonenonenonenonenonenonenone32nonenonenone
    @GetMappingnone1nonenone2none1nonenonenonenonenone1nonenonenonenonenonenone
    code actionsnonenone4none53nonenonenonenonenonenonenonenonenonenonenonenonenone
    Spring Boot language servernonenone33none1nonenonenonenonenonenonenonenonenonenonenonenonenone
    JDK Mission Controlnonenonenonenonenone1nonenonenone3nonenonenonenonenonenone3nonenone
    java-debug-adapter2nonenonenonenonenone3nonenonenonenonenonenonenone1nonenonenonenone
    java filesnonenone11nonenonenonenonenonenonenonenonenonenonenonenone1nonenone
    vim-dadbod-uinonenonenonenonenone1nonenonenonenone7nonenonenonenonenonenonenonenone

    Keyboard shortcuts

    /
    Open search
    Ctrl / ⌘ K
    Open search
    J or →
    Next article in the learning path
    K or ←
    Previous article in the learning path
    Alt I
    Define the selection or the highlighted term
    I
    Define the selection or the highlighted term
    ?
    This help
    Esc
    Close this help, search, or a definition