GeezerVison is showing github.com — feature: lemminx-maven · Issue #418 · nvim-java/nvim-java
feature: lemminx-maven #418DescriptionDid you check the docs?
Is your feature request related to a problem? Please describe.
- Difficulty in auto-installing lemminx-maven
- autocomplete for dependencies in pom.xml files in general
Describe the solution you'd like
lemminx-maven a plugin for the xml LSP lemminx that adds features for autocomplete etc. in pom.xml files. However, it is not available through Mason. I thought it might be a good idea to (optionally) provide it through this plugin, perhaps through the nvim-java mason registry, which could replace the standard version of lemminx with this patched version. Is there any interest or is this out of scope?
Describe alternatives you've considered
- downloading, compiling, and adding lemminx-maven to the system path manually
- writing a standalone lua module to accomplish the above
- using a local registry (only intended for local testing, needs to be installed every time neovim is started)
- similar capabilities are provided through vscode-maven as a jdtls extension but would require writing additional client logic
Additional context
No response Activitylogrusx commented on Aug 26, 2025 Have you tried requesting it in Mason repo? sergii-dudar commented on Nov 24, 2025 I don't know why you need similar functionality in nvim-java, it's just extension to non native (jar based) lemminx ls.
In mason registry only native lemminx, it's not extendable, you need jar based (non native) one. I don't believe that mason will accept both java native and non native version of lemminx ls into main stream.
Here is how it's done in my config (link to my answer in lemminx-maven discussion about nvim config) eclipse-lemminx/lemminx-maven#588 (comment) s1n7ax commented on Nov 25, 2025 sergii-dudar commented on Nov 26, 2025 @s1n7ax I mean, that mason lemminx version, it's java native binary (by graalvm to be more accurate), and it can't be extended with maven extension (or any jar based extensions).
you can check it in vscode binaries to lemminx, or by explanation in this thread:
eclipse-lemminx/lemminx-maven#588 (comment)
it's the main reason why I had to build jars from sources by my self manually to be able to provide maven jars, and to successfully extend lemminx in the result.
but it will be great to have all that bundle in mason registry.
Sorry for my hard explanation, english is not my native language logrusx commented on Nov 26, 2025 @sergii-dudar OP doesn't ask for a maven extension or plugin. They ask if they can have code completion in pom.xml. I don't see what does maven extension or whatever has to do with it.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|