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 5K
  • Win 2K
  • Mac 1K
  • Linux 2K
Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17
Windows 0 1 1 0 1 0 0 1 0 0 0 1 0 1 0 0 3 1 2 1 0 0 0 0 1 0 0 1 0 1 1 1 1 1 0 1 0 0 0 0 3 0 1 0 1 1
Mac 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 2 0 0 1 1 0 0 2 0 0 1 1 0 0 2 0 0 0 0 1 0 1 0 1 0 0 0 1 1 0 0
Linux 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 0 1 1 1 1 1 0 0 0 3 1 0 0 0 1 0 0 1 0 1 2 0 0 1 0 0

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