Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide an easy way to create BSP Connection Details #115

Open
fthomas opened this issue Dec 8, 2023 · 2 comments
Open

Provide an easy way to create BSP Connection Details #115

fthomas opened this issue Dec 8, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@fthomas
Copy link

fthomas commented Dec 8, 2023

I'd like to experiment with this project in combination with Scala Steward to extract dependencies from Gradle builds (scala-steward-org/scala-steward#2640). Other BSP server implementations provide a way to create BSP Connection Details so that BSP clients can launch the server easily. For example, connection details for bazel-bsp can be created with Coursier in a single command: cs launch org.jetbrains.bsp:bazel-bsp:<version> -M org.jetbrains.bsp.bazel.install.Install. For using BSP in Scala Steward I've collected how different build servers create connection details here. It would be nice if the Build Server for Gradle would also have a simple command to create connection details so that I can experiment with it in Scala Steward.

@jdneo jdneo added the enhancement New feature or request label Dec 11, 2023
@fthomas
Copy link
Author

fthomas commented Dec 13, 2023

Btw, I just found scalameta/metals-feature-requests#364 by @tgodzik which contains hand-crafted connection details for the Gradle build server. I guess providing an easy way to create connection details would also simplify (or is a prerequisite for) adding support for the Gradle build server to Metals.

@tgodzik
Copy link

tgodzik commented Dec 13, 2023

Thanks for letting me know @fthomas ! This would indeed be very useful if there are plans on working further on the Gradle build server. From our side, we don't currently plan to contribute anything upstream, but if at any point the feature becomes more crucial for us, we will try to help out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants