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

Allow to run scalafix on ammonite files or worksheet files #1534

Closed
mlachkar opened this issue Feb 1, 2022 · 1 comment · Fixed by #1901
Closed

Allow to run scalafix on ammonite files or worksheet files #1534

mlachkar opened this issue Feb 1, 2022 · 1 comment · Fixed by #1901

Comments

@mlachkar
Copy link
Collaborator

mlachkar commented Feb 1, 2022

semanticdb files are produced and we should be able to run scalafix on ammonite script or worksheets

@tgodzik
Copy link
Contributor

tgodzik commented Feb 1, 2022

For worksheets, we produce semanticdb in-memory and I think it might be hard to do outside Metals or Intellij worksheets.

As for ammonite I think it's only produced in the ammonite runner, otherwise we would need to add it to the magic imports.

I think we can handle both in Metals, do we need to add something in Scalafix itself? Is .sc extension not allowed ?

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

Successfully merging a pull request may close this issue.

2 participants