如何安装Submlime Text套件BeautifyRuby?

Published on:

今晚看xdite老师在GitBook上写的Rails 102教程,文中推荐安装Submlime Text套件BeautifyRuby来美化Ruby代码。

点击链接可以传送至BeautifyRuby的Github页面,拉到页面最后可以看到README给出了安装方法:

Package Control:

Using Package Control, a package manager for Sublime Text 2.
In ST2, press "cmd + shift + p" and then type "install".
Once you see "Package Control: Install Package", enter.
When the packages load, another selection window will appear. Type
BeautifyRuby and enter. All done!

Manual Installation:

cd "~/Library/Application Support/Sublime Text 2/Packages/"
git clone git://github.com/CraigWilliams/BeautifyRuby.git

我们一般用第一个方法来安装,但方法中没有具体说明Package Control怎么安装,但给出了指向Package Control的链接。

点击链接,并不能看到安装方法,需要手动点击右侧的installation。

进入页面后,然后就可以看到左侧页面给出了安装方法。

Comments

comments powered by Disqus