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

Support dependencies & repositories in .scalafix.conf #1625

Open
bjaglin opened this issue Jun 28, 2022 · 1 comment
Open

Support dependencies & repositories in .scalafix.conf #1625

bjaglin opened this issue Jun 28, 2022 · 1 comment

Comments

@bjaglin
Copy link
Collaborator

bjaglin commented Jun 28, 2022

Since #1152, scalafix-interfaces allow clients to offload dependency resolution to scalafix using Coursier artifact coordinates & repositories. This should also be available as configuration keys to provide a consistent experience across clients.

rules = [
  "OrganizeImports"
]
dependencies = [
  "com.github.liancheng::organize-imports:0.6.0"
]
respositories = [
  "ivy:https://foo.com/a/b/c/[defaultPattern]"
]

Triggered by scalameta/metals#4070

@tgodzik
Copy link
Contributor

tgodzik commented Jun 28, 2022

This would be amazing! I am currently working around it by adding a config in the metals user settings, but that is far from perfect.

I would be glad to implement it, but I will most likely not have the time 😓

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

No branches or pull requests

2 participants