1- # nvim-java
1+ # : coffee : nvim-java
22
33![ Neovim] ( https://img.shields.io/badge/NeoVim-%2357A143.svg?&style=for-the-badge&logo=neovim&logoColor=white )
44![ Lua] ( https://img.shields.io/badge/lua-%232C2D72.svg?style=for-the-badge&logo=lua&logoColor=white )
99No need to put up with [ jdtls] ( https://github.com/eclipse-jdtls/eclipse.jdt.ls ) nonsense anymore.
1010Just install and start writing ` public static void main(String[] args) ` .
1111
12- ## Features
12+ ## : dizzy : Features
1313
1414- :white_check_mark : Diagnostics & Auto Completion
1515- :white_check_mark : Automatic [ DAP] ( https://github.com/mfussenegger/nvim-dap ) debug configuration
16- - :x : Running tests
16+ - :white_check_mark : Running tests
1717
18- ## Why
18+ ## : bulb : Why
1919
2020- Uses [ nvim-lspconfig] ( https://github.com/neovim/nvim-lspconfig ) to setup ` jdtls `
2121- Realtime server settings updates is possible using [ neoconf] ( https://github.com/folke/neoconf.nvim )
@@ -26,15 +26,18 @@ Just install and start writing `public static void main(String[] args)`.
2626 - ` java-test `
2727 - ` java-debug-adapter `
2828- Typed & documented APIs
29- - No callback hells I [ promise] ( https://github.com/pyericz/promise-lua )
3029
31- ## How to Use
30+ ## : hammer : How to Install
3231
33- ## Pre-requisites
32+ <details >
33+
34+ <summary >:pushpin: details</summary >
35+
36+ ** Pre-requisites**
3437
3538- [ Python 3.9] ( https://www.python.org/downloads/ ) - for running ` jdtls ` wrapper launch script
3639
37- ### Install the plugin
40+ ** Install the plugin**
3841
3942Using [ lazy.nvim] ( https://github.com/folke/lazy.nvim )
4043
@@ -52,25 +55,31 @@ return {
5255}
5356```
5457
55- ### Setup JDTLS like you would usually do
58+ ** Setup jdtls like you would usually do**
5659
5760``` lua
5861require (' lspconfig' ).jdtls .setup ({})
5962```
6063
6164Yep! That's all :)
6265
63- ## APIs
66+ </details >
67+
68+ ## :computer : APIs
6469
65- ### DAP
70+ <details >
71+
72+ <summary >:pushpin: details</summary >
73+
74+ ** DAP**
6675
6776- ` config_dap ` - DAP is autoconfigured on start up, but in case you want to force configure it again, you can use this API
6877
6978``` lua
7079require (' java' ).dap .config_dap ()
7180```
7281
73- ### Test
82+ ** Test**
7483
7584- ` run_current_test_class ` - Run the test class in the active buffer
7685
@@ -84,8 +93,10 @@ require('java').test.run_current_test_class()
8493require (' java' ).test .debug_current_test_class ()
8594```
8695
87- ## Projects Acknowledgement
96+ </details >
97+
98+ ## :bookmark_tabs : Projects Acknowledgement
8899
89100[ nvim-jdtls] ( https://github.com/mfussenegger/nvim-jdtls ) is a plugin that follows "Keep it simple, stupid!" approach.
90- If you love customizing things by yourself, then give nvim-jdtls a try. I may or may not have copied some code ;-)
91- Open source is beautiful !
101+ If you love customizing things by yourself, then give nvim-jdtls a try. I may or may not have copied some code : wink :
102+ Beauty of Open source !
0 commit comments