Skip to content

Commit 554e179

Browse files
committed
chore(doc): restructure readme
1 parent b5368b2 commit 554e179

1 file changed

Lines changed: 24 additions & 24 deletions

File tree

README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -28,30 +28,6 @@ Just install and start writing `public static void main(String[] args)`.
2828
- Typed & documented APIs
2929
- No callback hells I [promise](https://github.com/pyericz/promise-lua)
3030

31-
### APIs
32-
33-
### DAP
34-
35-
- `config_dap` - DAP is autoconfigured on start up, but in case you want to force configure it again, you can use this API
36-
37-
```lua
38-
require('java').dap.config_dap()
39-
```
40-
41-
### Test
42-
43-
- `run_current_test_class` - Run the test class in the active buffer
44-
45-
```lua
46-
require('java').test.run_current_test_class()
47-
```
48-
49-
- `debug_current_test_class` - Debug the test class in the active buffer
50-
51-
```lua
52-
require('java').test.debug_current_test_class()
53-
```
54-
5531
## How to Use
5632

5733
### Install the plugin
@@ -80,6 +56,30 @@ require('lspconfig').jdtls.setup({})
8056

8157
Yep! That's all :)
8258

59+
## APIs
60+
61+
### DAP
62+
63+
- `config_dap` - DAP is autoconfigured on start up, but in case you want to force configure it again, you can use this API
64+
65+
```lua
66+
require('java').dap.config_dap()
67+
```
68+
69+
### Test
70+
71+
- `run_current_test_class` - Run the test class in the active buffer
72+
73+
```lua
74+
require('java').test.run_current_test_class()
75+
```
76+
77+
- `debug_current_test_class` - Debug the test class in the active buffer
78+
79+
```lua
80+
require('java').test.debug_current_test_class()
81+
```
82+
8383
## Projects Acknowledgement
8484

8585
[nvim-jdtls](https://github.com/mfussenegger/nvim-jdtls) is a plugin that follows "Keep it simple, stupid!" approach.

0 commit comments

Comments
 (0)