---
title: "IntelliJ IDEA Features and Their Neovim Equivalents"
canonical: "https://mnafshin.info/devtools/06-intellij-features-in-neovim/"
author: "Afshin Amini"
date: 2026-11-29
---
# IntelliJ IDEA Features and Their Neovim Equivalents

IntelliJ IDEA is the IDE most Java and Spring developers know, so its features are a fair yardstick. Neovim with LazyVim reaches many of them through the same building block: a language server that understands Java, plus pickers and code actions that put its answers on a key. This part follows one small task through the catalog code and names the Neovim key for each IntelliJ feature on the way, then lists what is still missing.

## Finding your way around

The day starts with "Search Everywhere", the double-Shift box that finds files, classes and symbols. LazyVim splits it into pickers: `<leader><space>` finds files by name, `<leader>sS` finds classes and methods across the workspace, and `<leader>/` searches text. "Recent Files" is `<leader>fr`, and open buffers are `<leader>,`.

Open `CatalogController.java` from module 9 of the companion code. IntelliJ's "File Structure" popup becomes `<leader>ss`, a picker of the file's symbols, or `<leader>cs` for a symbol outline that stays open beside the code.

```java
PagedModel<CatalogItem> catalog(Pageable pageable) {
    return new PagedModel<>(repository.findCatalog(pageable));
}
```

[CatalogController.java](https://github.com/mnafshin/springuniverse-code/blob/main/module-09-catalog/src/main/java/info/mnafshin/springuniverse/shop/CatalogController.java)

On `findCatalog`, "Go to Declaration" is `gd` and "Go to Implementation" is `gI`. "Find Usages" is `gr`, which lists the controller and two tests. "Call Hierarchy" is `gai` for incoming calls: in our test it listed the same three callers. "Type Hierarchy" has no LazyVim key yet; `:lua vim.lsp.buf.typehierarchy("supertypes")` on `ProductRepository` showed `JpaRepository`. Part 2 covers navigation in detail.

## Changing code

Say the method needs a clearer shape. IntelliJ's refactorings map to jdtls code actions on `<leader>ca`, with keys for the common ones: `<leader>cr` renames, `<leader>cxv` extracts a variable and `<leader>cxm` a method. Inline, extract field, introduce parameter, move class and change signature are in the menu. All of them worked on module 9 and updated every affected file; Part 5 walks through each.

The difference is in the conversation. IntelliJ asks for a name before extracting and shows a preview before a big rename. jdtls picks a name, such as `extracted`, and applies the change at once, so you rename afterwards. Change signature is a small text form instead of a dialog.

## Generating code

IntelliJ's Generate menu, `Alt+Insert`, lives in the same `<leader>ca` menu as "source actions". On the `Category` entity, jdtls offered and produced getters, setters, constructors, `toString()`, `equals()` and `hashCode()`, and "Override/Implement Methods". Where IntelliJ shows a checkbox dialog, Neovim shows a numbered list in the command line and you type the numbers of the fields to include.

Spring navigation is partly there. The Spring Boot language server lists beans and endpoints and checks `application.properties` (Part 4), but there is no gutter icon from an injection point to its bean and no bean graph.

## Running, debugging and testing

The run and debug toolbar maps to nvim-dap. Breakpoints, conditional breakpoints, stepping, the call stack, watches and evaluating expressions while paused all worked against the running catalog app, both launched from Neovim and attached to a JVM started with a debug port (Part 7). Run configurations become a `launch.json` file and overseer tasks (Part 9). Tests run from the editor with results in the debug console, not in a test tree with green bars (Part 8).

## Reference table

| IntelliJ IDEA | Neovim + LazyVim | Notes |
|---|---|---|
| Search Everywhere | `<leader><space>`, `<leader>sS`, `<leader>/` | files, symbols, text are separate pickers |
| Recent Files | `<leader>fr` | |
| File Structure | `<leader>ss`, `<leader>cs` | |
| Go to Declaration / Implementation | `gd` / `gI` | |
| Find Usages | `gr` | |
| Call Hierarchy | `gai`, `gao` | incoming tested |
| Type Hierarchy | `vim.lsp.buf.typehierarchy()` | no default key |
| Rename, Extract, Inline, Move, Change Signature | `<leader>cr`, `<leader>cx…`, `<leader>ca` | no name prompt, no preview |
| Generate (`Alt+Insert`) | `<leader>ca` source actions | numbered list instead of dialog |
| Quick fixes, Optimize Imports | `<leader>ca`, `<leader>co` | Part 3 |
| Spring beans, endpoints, properties | spring-boot.nvim | no bean graph or injection gutter |
| Debugger, watches, evaluate | nvim-dap, nvim-dap-ui | Part 7 |
| Attach to Process / Remote JVM Debug | `launch.json` attach entry | needs `projectName`; SSH forward tested locally only, Part 7 |
| Run configurations | `launch.json`, overseer | Part 9 |
| Profiler | `jcmd`, `jfr` from Neovim | no built-in flame graph, Part 10 |
| Database tool window | vim-dadbod-ui | PostgreSQL tested; H2 only via its PG mode, Part 11 |
| Docker / Kubernetes files | dockerls, yamlls | editing only, Part 12 |

## What is still missing

Be clear about the gaps before you switch:

- **Dialogs and previews.** Refactorings apply at once with generated names; there is no preview tree and no conflict dialog.
- **Spring diagrams.** No bean graph, no injection gutter icons, no endpoint tool window with a built-in HTTP client.
- **Profiler.** IntelliJ's profiler shows flame graphs inside the IDE; in Neovim you record with JFR and read text views or open JDK Mission Control.
- **Database.** H2 memory, file and server limits are the same in IntelliJ. dadbod has no H2 adapter, so it needs H2's PostgreSQL server mode. No diagrams.
- **Setup time.** IntelliJ bundles all of this. Here you install a JDK, tools and plugins, and the first jdtls import of a large build takes time.

What you gain is a fast editor that runs in any terminal, also over SSH, with a configuration you own in Git.

## Recap

- Navigation maps closely: `gd`, `gI`, `gr`, `gai`, and pickers for files, symbols and text.
- Refactorings and code generation are jdtls code actions on `<leader>ca`; they apply without name prompts or previews.
- Spring support covers beans, endpoints and properties, not diagrams.
- Debugging, tests and run configurations work through nvim-dap, jdtls and overseer.
- The real gaps are previews, Spring diagrams, a built-in profiler UI and setup effort.

**Series: Neovim as a Java IDE.** Previous: [Refactoring Java in Neovim](/devtools/05-refactoring-java/) · Next: [Debugging a Spring Boot app in Neovim](/devtools/07-debugging-spring-boot/)

## Sources

Official documentation and well-known tutorials read while writing this article. The wording here is our own.

- [IntelliJ IDEA: Searching everywhere](https://www.jetbrains.com/help/idea/searching-everywhere.html)
- [IntelliJ IDEA: Source code navigation](https://www.jetbrains.com/help/idea/navigating-through-the-source-code.html)
- [IntelliJ IDEA: Refactoring code](https://www.jetbrains.com/help/idea/refactoring-source-code.html)
- [IntelliJ IDEA: Generate code](https://www.jetbrains.com/help/idea/generating-code.html)
- [IntelliJ IDEA: Spring support](https://www.jetbrains.com/help/idea/spring-support.html)
- [LazyVim: keymaps](https://www.lazyvim.org/keymaps)
- [nvim-jdtls README](https://github.com/mfussenegger/nvim-jdtls)
- [Neovim: LSP (call and type hierarchy)](https://neovim.io/doc/user/lsp.html)
- [Lorenzo Bettini: Neovim and Java with LazyVim, part 2: IDE mechanisms](https://www.lorenzobettini.it/2024/12/neovim-and-java-with-lazyvim-part-2-ide-mechanisms/)
- [Dhruva Sagar: Neovim as a Java IDE](https://dhruvasagar.dev/posts/neovim-java-ide/)
- [Nirmal Ravidas: Setting Up a Full Spring Boot Dev Environment on Linux with Neovim and LazyVim](https://nirmalravidas.hashnode.dev/spring-boot-dev-environment-linux-neovim-lazyvim)
