Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

Support correct rustfmt flags for auto-formatting #8

Open
nuke-web3 opened this issue Jul 28, 2021 · 0 comments
Open

Support correct rustfmt flags for auto-formatting #8

nuke-web3 opened this issue Jul 28, 2021 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@nuke-web3
Copy link

nuke-web3 commented Jul 28, 2021

If this extension is to be coupled with substrate projects, is it possible to help users with formatting?

For use with rust analyzer extention in VSCode (context):
Using "format on save" with the settings.json found here for rust-analyzer + VSCode works as expected.

"rust-analyzer.rustfmt.overrideCommand": [
  "rustup",
  "run",
  "nightly",
  "--",
  "rustfmt"
],

@nuke-web3 nuke-web3 added enhancement New feature or request question Further information is requested labels Jul 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant