Skip to content

This is my attempt at a basic stable starting point for a Neovim IDE.

Notifications You must be signed in to change notification settings

yoezasapoetro/nvim-basic-ide

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java IDE for Neovim 0.7

The config may work but is not guaranteed to work with future versions of Neovim or nvim-jdtls, the plugins are pinned to stable tested versions.

Setup

  1. Make sure you have Java 11 or greater installed, you will also need npm installed for the testing bundle

  2. Install jdtls

Open update Neovim and install jdtls

:LspInstall jdtls
  1. Install java-debug
git clone https://github.com/microsoft/java-debug ~/.config/nvim/java-debug

cd ~/.config/nvim/java-debug

./mvnw clean install
  1. Install vscode-java-test
git clone https://github.com/microsoft/vscode-java-test.git ~/.config/nvim/vscode-java-test

cd ~/.config/nvim/vscode-java-test

npm install

npm run build-plugin
  1. Choose your formatter

You can choose to continue to use google-java-format, which is preconfigured for this but you will need to install it.

You can read more about it here: google-java-format

  • Mac:

    brew install google-java-format
  • Arch:

    paru -S google-java-format

Alternatively you can use the formatter builtin with jdtls by:

Deeper Dive

For a better understanding of how this works and to keep updated with the project make sure to checkout the nvim-jdtls repository.

Keybindings

About

This is my attempt at a basic stable starting point for a Neovim IDE.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%