首页 > 其他 > 详细

sublime text 3 rust

时间:2015-07-03 02:06:18      阅读:544      评论:0      收藏:0      [点我收藏+]

1.sublime text 3 => install package => Rust

2.cd ~/.config/sublime-text-3/Packages

3.mkdir rust

4.git clone https://github.com/sp0/rust-style

5.cd rust-style

6.cargo build --release

7.ctrl+shift+p => Rust Code Formatter: Set Path =>?

? ? /home/xiaotie/.config/sublime-text-3/Packages/rust/rust-style/target/release/rust-style

8.keybinding user =>

? ? {

? ? ? ? "keys": ["ctrl+e", "ctrl+d"], "command": "rust_code_formatter_format",

? ? ? ? "context":

? ? ? ? [

? ? ? ? ? ? {"key": "selector", "operator": "equal", "operand": "source.rust"}

? ? ? ? ]

? ? }

sublime text 3 rust

原文:http://wudixiaotie.iteye.com/blog/2223780

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!