Expand description
Code formatting and auto-correction module
This module provides integration with rustfmt for code formatting validation and automatic correction.
Structs§
- Format
Result - Formatting check result
- Format
Suggestion - A formatting suggestion for a file
Functions§
- apply_
rustfmt_ config - Apply formatting configuration
- auto_
format - Auto-format code
- check_
file_ formatting - Check formatting for a specific file
- check_
formatting - Check code formatting
- format_
file - Format a specific file
- get_
format_ diff - Get formatting diff without applying changes