1
打开Sublime Text3 ,点击菜单栏的“Preferences”-->"Package Control",或者可以使用快捷键CTRL+SHIFT+P 打开
2
在打开的终端窗口,输入“install”,下闭搭汪方就会提示“Package Control:install package”,用鼠标点击
3
这时候等待几秒,就会弹出一个终端,在终端输入你想要安装枝雀的插件,这里我以“AlignMent”插件为例,点击下方,就会自动会为你安装插件了。
4
重启Sublime Text3就会看到我们刚才安装的AlignMent插件了
END
直接安装
1
如果不想通过Package Control,也可以直接下载好想要的插件,然后打开菜单栏里的“Preferences”--->"Browse Packages",打开轿仔包的位置
2
然后将下载的好插件直接放置到Packages目录,重启Sublime Text3 插件就会安装成功了。
(望楼主采纳哦)
在使和明用sublime下载扩展包的过程中,通过ctrl+shift+p打开包管理菜单界面,输入install 选中Install Package并回车,出现There are no packages available for installation的提示,启棚脊导致安装插件出现问题
菜单栏Preferences => Package Settings => Package Control => Settings - Default 查看
---------------------
作者:dongsir 董先生
这篇文章可以帮助到您:
sublime text 3为什么不能悄渗安装插件
1. ctrl+shift+p
2. 然后list package
3. 选择一拦源个会自动打开其所在的目录.
里面会有一个readme.md, 然后就知道怎么用了.
那些文件一个是设置还有一个是快捷键绑定,简闷态Default是默认的版本,User是保存你自己修改的版本。
很多插件就是一些快捷键,你把Default文件打开看看就知道插件如何用了,不然就去插件官网看说明呗,sublime text这罩派方面确实有点geek
win7(sl2正常运行)下我在PackageControl的debug模式下发现:
Package Control: Download Debug
URL: https://sublime.wbond.net/repositories.json
Resolved IP: 50.116.34.243
Timeout: 30
Package Control: Urllib2 Debug Proxy #此处用的是Urllib2
http_proxy:
https_proxy:
proxy_username:
proxy_password:
Package Control: Urllib2 HTTPS Debug General
Connecting to sublime.wbond.net on port 443
Package Control: Urllib2 HTTPS Debug General
Connecting to sublime.wbond.net on port 443
CA certs file at C:\Users\Leo\AppData\Roaming\Sublime Text 2\Packages\Package Control\certs\ca-bundle.crt
loaded 1178 snippets
Successfully upgraded connection to sublime.wbond.net:443 with SSL
Server SSL certificate:
subject: CN=sublime.wbond.net,OU=Domain Control Validated - RapidSSL(R),OU=See www.rapidssl.com/resources/cps (c)12,OU=GT52951423,O=sublime.wbond.net,C=US,serialNumber=myhMyQY3GDqAVOO0J/XxhlNzHaUdNIlo
common name: sublime.wbond.net
expire date: Feb 26 16:28:18 2015 GMT
Certificate validated for sublime.wbond.net
Package Control: Urllib2 HTTPS Debug Write
GET /repositories.json HTTP/1.1
Host: sublime.wbond.net
Connection: close
Accept-Encoding: gzip,deflate
User-Agent: Sublime Package Control
Package Control: Urllib2 HTTPS Debug Read
HTTP/1.1 200 OK
Server: nginx
Date: Thu, 20 Jun 2013 04:41:13 GMT
Content-Type: application/json
Content-Length: 126847
Last-Modified: Thu, 20 Jun 2013 04:17:17 GMT
Connection: close
Vary: Accept-Encoding
ETag: "51c2824d-1ef7f"
Content-Encoding: gzip
Package Control: No updated packages
但是在我的Arch下
Package Control: Download Debug
URL: https://sublime.wbond.net/repositories.json
Resolved IP: 50.116.34.243
Timeout: 30
Package Control: Curl Debug Proxy #此处用的是curl
http_proxy:
https_proxy:
proxy_username:
proxy_password:
Package Control: Trying to execute command /usr/include/curl --user-agent 'Sublime Package Control' --connect-timeout 30 -sSL --compressed --dump-header /tmp/tmptv5Nt1 --cacert '/home/leo/.config/sublime-text-2/Packages/Package Control/certs/ca-bundle.crt' -v https://sublime.wbond.net/repositories.json
用的是curl,作者的原话是“Because ST2 does not include the ssl module on Linux and thus urllib can't be used for HTTPS downloads.”
所以我自己改了 package control.py 把/usr/include/curl 改为了/usr/bin/curl 然后就居然成功了。
https://github.com/wbond/sublime_package_control/issues/484 这个是我提的issues
总之我是这么解决的,sl3可能不一样,不过多看下debug信息总能发现点什么。
可以采取直接安装的方法. 安装Sublime text 3插件很方便,可以直神绝橘游团接下载安装包解压缩到Packages目宏碰录(菜单->preferences->packages)。