diff --git a/README.md b/README.md index 3193795..05f4289 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,12 @@ ![Neovim](https://img.shields.io/badge/NeoVim-%2357A143.svg?&style=for-the-badge&logo=neovim&logoColor=white) ![Lua](https://img.shields.io/badge/lua-%232C2D72.svg?style=for-the-badge&logo=lua&logoColor=white) +![Linux](https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black) +![Windows](https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows11&logoColor=white) +![macOS](https://img.shields.io/badge/macOS-000000?style=for-the-badge&logo=apple&logoColor=white) + +--- + Just install and start writing `public static void main(String[] args)`. > [!TIP] @@ -27,13 +33,15 @@ Just install and start writing `public static void main(String[] args)`. - :white_check_mark: Organize Imports & Code Formatting - :white_check_mark: Running Tests - :white_check_mark: Run & Debug Profiles +- :white_check_mark: Built-in Application Runner with Log Viewer +- :white_check_mark: Profile Management UI +- :white_check_mark: Decompiler Support - :white_check_mark: [Code Actions](https://github.com/nvim-java/nvim-java/wiki/Tips-&-Tricks#running-code-actions) ## :bulb: Why - Everything necessary will be installed automatically - Uses native `vim.lsp.config` to setup `jdtls` -- Realtime server settings updates is possible using [neoconf](https://github.com/folke/neoconf.nvim) - Auto loads necessary `jdtls` plugins - Supported plugins are, - `spring-boot-tools` @@ -369,11 +377,6 @@ require('java').setup({ version = '17', }, - -- Notifications - notifications = { - dap = true, -- Show DAP configuration messages - }, - -- Logging log = { use_console = true, diff --git a/doc/nvim-java.txt b/doc/nvim-java.txt index 31ad3be..d2bebe8 100644 --- a/doc/nvim-java.txt +++ b/doc/nvim-java.txt @@ -407,12 +407,7 @@ want, following options are available auto_install = true, version = '17.0.2', }, - - notifications = { - -- enable 'Configuring DAP' & 'DAP configured' messages on start up - dap = true, - }, - + -- We do multiple verifications to make sure things are in place to run this -- plugin verification = { diff --git a/lua/java/config.lua b/lua/java/config.lua index 8c9439d..b42419a 100644 --- a/lua/java/config.lua +++ b/lua/java/config.lua @@ -20,7 +20,6 @@ local V = jdtls_version_map[JDTLS_VERSION] ---@field java_debug_adapter { enable: boolean, version: string } ---@field spring_boot_tools { enable: boolean, version: string } ---@field jdk { auto_install: boolean, version: string } ----@field notifications { dap: boolean } ---@field log java-core.Log2Config ---@class java.PartialConfig @@ -31,7 +30,6 @@ local V = jdtls_version_map[JDTLS_VERSION] ---@field java_debug_adapter? { enable?: boolean, version?: string } ---@field spring_boot_tools? { enable?: boolean, version?: string } ---@field jdk? { auto_install?: boolean, version?: string } ----@field notifications? { dap?: boolean } ---@field log? java-core.PartialLog2Config ---@type java.Config @@ -72,11 +70,6 @@ local config = { version = V.jdk, }, - notifications = { - -- enable 'Configuring DAP' & 'DAP configured' messages on start up - dap = true, - }, - log = { use_console = true, use_file = true,