lsp-metals icon indicating copy to clipboard operation
lsp-metals copied to clipboard

Add a Command to Run 'scalafix-run'

Open LaurenceWarne opened this issue 1 year ago • 0 comments

Hi, this PR adds a new command lsp-metals-run-scalafix which runs the scalafix-run command (documentation: https://scalameta.org/metals/docs/integrations/new-editor/#run-all-scalafix-rules).

~I've also added a utility function for adding this command to before-save-hook, and added this to the example setup~. I hope this is helpful, thanks :slightly_smiling_face:

LaurenceWarne avatar Sep 24 '22 15:09 LaurenceWarne