读书人

软件工程师利器sublime text 插件安装

发布时间: 2013-04-07 12:50:11 作者: rapoo

程序员利器sublime text 插件安装

sublime text 已经使用了有一年多了,随着其插件越来越丰富,现在平时工作生活所有代码都可以在sublime 上完成,而且其本身是跨平台的。

?

sublime 的插件安装非常方便,安装教程和地址如下

http://wbond.net/sublime_packages/package_control/installation

?

项目托管地址

https://github.com/wbond/sublime_package_control

?

Installation

Get Package Control alpha?for Sublime Text 3

Please note that the following method can not validate the sublime.wbond.net SSL certificate. If you have concern over the security of the download, please follow the?Manual Instructions?below.

Installation is through the Sublime Text 2 console. This is accessed via the?ctrl+`?shortcut. Once open, paste the following command into the console.

import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print('Please restart Sublime Text to finish installation')

This command creates the Installed Packages folder for you (if necessary), and then downloads the?Package Control.sublime-packageinto it.

Start Managing Your Packages

Manual Instructions

If for some reason the console installation instructions do not work for you (such as having a proxy on your network), perform the following steps to manually install Package Control:

  1. Click the?Preferences > Browse Packages…?menu entry
  2. Browse up a folder and then into the?Installed Packages?folder
  3. Download?Package Control.sublime-package?and copy it into the?Installed Packages?directory
  4. Restart Sublime Text

Testing Version

If you want to help test the latest changes, or you are having trouble with the stable version (v1.6.3) of Package Control, please use the instructions below to install the testing version (v1.6.9.0).?See the testing version changelog on GitHub.

Notable changes include:

读书人网 >开源软件

热点推荐