Java in Neovim

Current State of Java + Neovim

Available:

  • Treesitter highlighting
  • Goto definition
  • Goto references
  • Formatting
  • Diagnostics
  • Hover
  • Refactor/Rename
  • Search files (FZF)
  • Search text (FZF)
  • Quickfix
  • Lombok
  • Configuration in coc-settings.json

Difficult to Implement:

  • Debugging

* This can be done but in my opinion it's difficult to get setup, if you'd like to look further into it checkout the following:

Note

You will need to have CoC installed I have a blog post and video for installing CoC here:

YouTube Video

Blog Post

Install

Treesitter

You will need Neovim>=0.5

  • Install with VimPlug

Add this to your init.vim

coc-java

Lombok

Commands

Here are a bunch of commands to get the behavior of this video:

Configuration

  • coc-settings.json

Repo Links

coc-java treesitter


Tagged in neovim