Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>rust-formatterNew to Visual Studio Code? Get it now.
rust-formatter

rust-formatter

jms080809

|
3,033 installs
| (0) | Free
fust-formatter
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

RUST-FORMATTER (Rubbish extension lol)

The motivation for creating this extension

as you know, Nobody creates rust formatter in 2021(You may think like this "Hey! We already have rustfmt!") <- My answer is "I wanted to auto-semicolon". This is it. Really simple motivation.

Well, How to use this?

The base extension of this extension is Rust(Rust for Visual Studio Code). Please install that extension and install this. AND Probably you say, "Hey! It doesn't working! what's going on?", This extension needs .vscode folder(settings.json). You have The two choices. but i'll introduce you to create .vscode folder

Blabla_project_folder
|
_  target
|
_src
|
_cargo.lock
... more

Plz create a .vscode folder and create settings.json file

Blabla_project_folder
|
_.vscode
  |
  _ settings.json
|
_  target
|
_src
|
_cargo.lock
... more

In settings.json

{
  "[rust]": {
    "editor.defaultFormatter": "undefined_publisher.rust-formatter",
    "editor.formatOnSave": true // if you didn't set format setting
  }
}

and press Ctrl + S and BAAM

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft