Package Details: metals 1.3.5-1

Git Clone URL: https://aur.archlinux.org/metals.git (read-only, click to copy)
Package Base: metals
Description: Language Server For Scala
Upstream URL: https://scalameta.org/metals/
Keywords: jvm lsp scala
Licenses: Apache-2.0
Submitter: isomarcte
Maintainer: isomarcte
Last Packager: isomarcte
Votes: 10
Popularity: 0.28
First Submitted: 2019-04-10 17:11 (UTC)
Last Updated: 2024-10-03 15:29 (UTC)

Dependencies (8)

Required by (0)

Sources (8)

Latest Comments

« First ‹ Previous 1 2 3

isomarcte commented on 2019-11-25 23:00 (UTC)

Can you update java-environment=8 to java-environment=11. Java 11 is supported right now based on this issue https://github.com/scalameta/metals/issues/762

Yes, I've been meaning to do that for some time. I'll see if I can get to it today.

ckipp01 commented on 2019-11-25 18:38 (UTC)

It's very odd that metals needs to know what client your using when the whole point of a language server is to be client agnostic.

We actually use this for a few different reasons. Not all clients respect LSP the same way, which causes us to have to rely on what is set as that variable. Also, LSP is extensible, which allows us to build custom LSP extension, our tree view protocol for example https://scalameta.org/metals/docs/editors/tree-view-protocol.html, and not all editors support those extensions. Another reason is that certain editors interpret the same command a bit different. For example, VS Code will add a "magic" indent when you send a textEdit from the server to the client, but emacs won't. So, we use that variable to provide a better user experience for the end user. :)

Crandel commented on 2019-11-25 13:18 (UTC)

Can you update java-environment=8 to java-environment=11. Java 11 is supported right now based on this issue https://github.com/scalameta/metals/issues/762

cheezsteak commented on 2019-09-11 14:56 (UTC)

FYI for vim users. If you are using a different language server plugin than vim-lsc you can set the _METALS_CLIENT variable yourself and use the metals-client script.

It's very odd that metals needs to know what client your using when the whole point of a language server is to be client agnostic.

amesgen commented on 2019-04-19 16:23 (UTC)

Perfect, thanks for the nice work on this package!

isomarcte commented on 2019-04-19 15:36 (UTC)

@amesgen, I definitely can. That's a great idea and I'm sorry I missed it.

The 0.5.0-6 build provides this now.

amesgen commented on 2019-04-18 23:57 (UTC)

Can you enforce Java 8 in the start scripts?

https://wiki.archlinux.org/index.php/Java#Launching_an_application_with_the_non-default_java_version