Skip to content

Conversation

@AlexTMjugador
Copy link
Contributor

The Visual Studio Code settings in our repository currently set Prettier as the default formatter for all file types, including Rust source files. However, since Prettier doesn't properly support Rust, formatting commands for Rust files are broken by default. Only the Rust Analyzer extension can format them properly via rustfmt.

This PR configures Rust Analyzer as the default formatter for Rust files, thereby restoring proper formatting functionality in Visual Studio Code by default.

@AlexTMjugador AlexTMjugador requested review from a team and triphora October 24, 2025 21:18
@AlexTMjugador AlexTMjugador added app Relates to Modrinth App backend Involves work from the backend team frontend Involves work from the frontend team dev-ex Improvements to developer experience labels Oct 24, 2025
@AlexTMjugador AlexTMjugador added this pull request to the merge queue Oct 24, 2025
Merged via the queue into main with commit ccb24ce Oct 24, 2025
4 checks passed
@AlexTMjugador AlexTMjugador deleted the alex/vscode-rustfmt-config branch October 24, 2025 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app Relates to Modrinth App backend Involves work from the backend team dev-ex Improvements to developer experience frontend Involves work from the frontend team

Development

Successfully merging this pull request may close these issues.

4 participants