Rusty Code Formatter is a Visual Studio Code extension that formats your Rust code using rustfmt. Enhance your Rust development workflow with easy formatting commands and customizable settings.
Features
Format Rust Files: Automatically format your Rust code to adhere to standard styling.
Command Palette Access: Trigger formatting via the Command Palette or using the keyboard shortcut Ctrl+Shift+5.
Customizable Settings: Configure the path to rustfmt and pass additional arguments as needed.
Installation
From VSCode Marketplace
Open Visual Studio Code.
Go to the Extensions view by clicking on the Extensions icon in the Activity Bar or pressing Ctrl+Shift+X.