Fork me on GitHub
#leiningen
<
2024-01-08
>
Duncan Karas17:01:47

Anyone ever got jdtls/lsp-java to play with leiningen? The lsp seems to require an eclipse project file to start, but I don’t think the lein project doesn’t have what it needs.

hifumi12319:01:43

Assuming the question is “How can I get Java LSP to function in Leiningen projects with Java sources?” then I would look into checking whether Java LSP supports Maven projects. If it does support Maven projects, then I would run lein pom (probably as a prep-task if developers are expected to be using LSP instead of an IDE like IntelliJ)

Duncan Karas10:01:13

That did it. Thanks.

👍 1