How to active format on save with rust-analyzer for VS Code?

I have used rust-analyzer on VS Code for a while now but I cannot find any settings key related to format on save.

"editor.formatOnSave": true,

in settings.json :slight_smile:

or per language:

"[rust]": {
        "editor.formatOnSave": true,
    }, 
5 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.