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

Import a build from Pants BUILD files #131

Open
chinshr opened this issue May 29, 2020 · 4 comments
Open

Import a build from Pants BUILD files #131

chinshr opened this issue May 29, 2020 · 4 comments

Comments

@chinshr
Copy link

chinshr commented May 29, 2020

Is your feature request related to a problem? Please describe.
When I do Import a build I would like to import from a Pants BUILD file

Describe the solution you'd like
I would like to see Pants build system a first-class citizen next to sbt, etc.

Describe alternatives you've considered
Using IntelliJ, but would love to use Code for Scala

@kpbochenek
Copy link

I think it was already implemented and should be available with a new release: scalameta/metals#1758

If multiple builds systems are present in a project you are prompted to select one you want to use. Your choice will stay persisted and you don't have to choose again and again.

Can you check if version: https://scalameta.org/metals/docs/editors/vscode.html#using-latest-metals-snapshot
works okay for you? And if you find any problems report it as issues in metals repo?

Very happy to see devs are one step ahead :D (all thanks to @ckipp01)

@ckipp01
Copy link
Member

ckipp01 commented May 29, 2020

While the pr listed will help detect spaces that contain more than one build file, it doesn't technically do anything extra for pants except maybe help detecting the workspace if it's alongside of another existing build definition. I know @olafurpg has said some stuff in the past about Pants, documented support, etc. So he'll probably know the most about it and be able to weigh in.

@olafurpg
Copy link
Member

olafurpg commented May 29, 2020

Thank you for reporting! Pants is not supported at the moment. We have an experimental integration this is still evolving and it’s still unclear what version of pants it will require. IntelliJ is the recommended alternative.

@jozanek
Copy link

jozanek commented Apr 8, 2021

Hello guys, what is current situation with pants experimental integration? I am willing to test and improve it :)

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

No branches or pull requests

5 participants