mason.nvim icon indicating copy to clipboard operation
mason.nvim copied to clipboard

feat(registry): add java-language-server

Open vladaviedov opened this issue 2 years ago • 4 comments
trafficstars

Adding java-language-server Closes #388

vladaviedov avatar Jan 15 '23 00:01 vladaviedov

It should be possible to get the pre-built version by extracting the vscode extension, but it also relies on a shell script to start the program.

They do provide batch scripts for Windows though. Would ctx.spawn.cmd work?

Edit: there is a batch run script, but not a batch link script. I think extracting the vscode extension and then using the batch script to run should work.

vladaviedov avatar Jan 18 '23 14:01 vladaviedov

It should be possible to get the pre-built version by extracting the vscode extension, but it also relies on a shell script to start the program.

I was trying to find if they publish the .vsix archive anywhere but couldn't find it. Not on GitHub or OpenVSX

williamboman avatar Jan 18 '23 18:01 williamboman

I was trying to find if they publish the .vsix archive anywhere but couldn't find it. Not on GitHub or OpenVSX

I see. I assume curl-ing Microsoft's marketplace is also out of question.

Doesn't installing git on Windows come with git bash? That should be able to run the shell script, since git is a requirement anyways.

vladaviedov avatar Jan 18 '23 19:01 vladaviedov

Let's wait for a while and see what the response is over at https://github.com/georgewfraser/java-language-server/issues/233, thanks for looking into this!

williamboman avatar Feb 01 '23 14:02 williamboman

Closing this as packages are no longer added to this registry, see instead https://github.com/mason-org/mason-registry/.

williamboman avatar Mar 23 '23 18:03 williamboman

Added in https://github.com/mason-org/mason-registry/pull/1017

williamboman avatar Mar 29 '23 21:03 williamboman