Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 30 additions & 4 deletions doc/nvim-java.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*nvim-java.txt* For Neovim >= 0.9.4 Last change: 2024 July 14
*nvim-java.txt* For Neovim >= 0.9.4 Last change: 2024 December 24

==============================================================================
Table of Contents *nvim-java-table-of-contents*
Expand All @@ -24,9 +24,15 @@ Table of Contents *nvim-java-table-of-contents*
Just install and start writing `public static void main(String[] args)`.


[!WARNING] You cannot use `nvim-java` alongside `nvim-jdtls`. So remove
[!CAUTION] You cannot use `nvim-java` alongside `nvim-jdtls`. So remove
`nvim-jdtls` before installing this

[!TIP] You can find cool tips & tricks here
https://github.com/nvim-java/nvim-java/wiki/Tips-&-Tricks

[!NOTE] If you are facing errors while using, please check troubleshoot wiki
https://github.com/nvim-java/nvim-java/wiki/Troubleshooting

DEMO *nvim-java-demo*


Expand Down Expand Up @@ -106,7 +112,9 @@ COMMANDS *nvim-java-commands*

BUILD ~

- `JavaBuildWorkspace` - Runs a full workspace build
- `JavaBuildBuildWorkspace` - Runs a full workspace build
- `JavaBuildCleanWorkspace` - Clear the workspace cache (for now you have to
close and reopen to restart the language server after the deletion)


RUNNER ~
Expand Down Expand Up @@ -171,6 +179,14 @@ BUILD ~
require('java').build.build_workspace()
<

- `build.clean_workspace` - Clear the workspace cache
(for now you have to close and reopen to restart the language server after
the deletion)

>lua
require('java').build.clean_workspace()
<


RUNNER ~

Expand Down Expand Up @@ -361,14 +377,24 @@ want, following options are available
'.git',
},

jdtls = {
version = 'v1.37.0',
},

lombok = {
version = 'nightly',
},

-- load java test plugins
java_test = {
enable = true,
version = '0.40.1',
},

-- load java debugger plugins
java_debug_adapter = {
enable = true,
version = '0.58.1',
},

spring_boot_tools = {
Expand Down Expand Up @@ -408,7 +434,7 @@ want, following options are available
-- mason.nvim plugin.
-- IF it's not registered correctly, an error will be thrown and nvim-java
-- will stop setup
invalid_mason_registry = true,
invalid_mason_registry = false,
},
}
<
Expand Down