The following changes allow to configure initial_options and server properties of Metals, and enable metals.http by default. This change launches the Metal's HTTP server on http://localhost:5031 which exposes Metals custom commands, so you don't have to launch VS Code every time you need to switch BSP server.
Also, it is possible to enable Metals' "best effort compilation" for Scala 3.5.0 by setting the argument in Zed's settings:
There are 2 more unrelated tiny commits I'm lazy to split into separate PRs, will do if necessary. - adding grammars folder to ignore list, as it is generated by the compilation and updating to newer tree-sitter-scala version.
The following changes allow to configure initial_options and server properties of Metals, and enable metals.http by default. This change launches the Metal's HTTP server on http://localhost:5031 which exposes Metals custom commands, so you don't have to launch VS Code every time you need to switch BSP server.
Also, it is possible to enable Metals' "best effort compilation" for Scala 3.5.0 by setting the argument in Zed's settings:
There are 2 more unrelated tiny commits I'm lazy to split into separate PRs, will do if necessary. - adding
grammars
folder to ignore list, as it is generated by the compilation and updating to newer tree-sitter-scala version.