rcasia / neotest-java

Neotest adapter for Java.
MIT License
45 stars 25 forks source link

[Improvement] Implement more robust runtime collection and compilation #162

Open asmodeus812 opened 1 month ago

asmodeus812 commented 1 month ago

On top of the existing runtime this improvement also tries to check the maven or gradle (todo) to collect as much information about the runtime of the project, if that is not possible, the user might be prompted to enter the home directory of the runtime, the user might also configure the runtimes statically in the plugin's configuration.

Furthermore dependencies on other plugins such as nvim-jdtls is removed, and the changes rely only on native the nvim lsp or coc.nvim.

asmodeus812 commented 1 month ago

@rcasia ported part of the original implementation, removed nvim-jdtls dependency as i see no reason for it was using 1 wrapper around client.request. Tested with both coc and native lsp seems to be working as expected.

asmodeus812 commented 1 month ago

@rcasia could you check this pr out ? Thanks