ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Beautify​Rust

by vincenting ST3

A binding for Sublime Text 3 to Rustfmt

Labels formatting, rust

Details

Installs

  • Total 6K
  • Win 3K
  • Mac 2K
  • Linux 2K
Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11
Windows 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 1 1 0 0 0 1 0 0 0 1 0 0 0 2 0 0 0 0 0 0 0 0
Mac 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 1

Readme

Source
raw.​githubusercontent.​com

BeautifyRust

A binding for Sublime Text to the Rustfmt.

Requirements

  1. Clone and build the rustfmt
  2. Install the package through package control (or clone from git if you prefer): https://sublime.wbond.net/packages/BeautifyRust
  3. If an error is encountered while processing the file or can not find rustfmt in path, following message Beautify rust: can not find rustfmt in path. is displayed. Open menu in your Preferences -> Package settings -> BeautifyRust -> Settings - User, and edit the settings file using below as a template:
{
  "run_on_save": false,
  "show_errors": true,
  "rustfmt": "/Users/user/.cargo/bin/rustfmt"

  // Optionally, you may specify an array of arguments to pass to rustfmt
  // For example, if you have a system wide rustfmt configuration file
  // "args": [
  //     "--config-path=/Users/user/.rust/"
  // ]
}

Contact

https://github.com/vincenting/BeautifyRust