Cargo format on-demand in Vscode

I'd like my code to follow the default formatting rules.
I usually run "cargo fmt --check" before committing, then vaguely review the diff, and re-run without "--check".

I don't like the idea of big chunks of my code being modified without me reviewing the changes, and at the same time I'd like to evolve my typing to produce something closer to being compliant (less things to patch as post-process).

What I need is something I saw in pycharm for pep8: in your editor, you see individual offenses as warnings, and the editor offers code-fixes/actions to one-click make the style compliant.
Does such a thing exist in vscode ? The only things I've seen are "on-save" commands that are not interactive, and do not itemize the patches.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.