Home > Article > Backend Development > How to install and use Package Control in Sublime text 2/3, sublimepackage_PHP tutorial
Package Control plug-in is a plug-in that facilitates Sublime text management plug-in, but because Sublime Text 3 has been updated The functions and APIs of Python are different, causing many plug-ins developed based on Python to not work, and the original installation method of Package Control is invalid.
Simple installation method:
From the menu View - Show Console or ctrl ~ shortcut key, bring up the console. Paste the following Python code and enter to execute it. The installation will be completed without incident. The installation code for ST3 and ST2 is provided below:
Sublime Text 3:
Sublime Text 2:
手动安装:
可能由于各种原因,无法使用代码安装,那可以通过以下步骤手动安装Package Control:
1.点击Preferences > Browse Packages菜单
2.进入打开的目录的上层目录,然后再进入Installed Packages/目录
3.下载 Package Control.sublime-package 并复制到Installed Packages/目录
4.重启Sublime Text。
Package Control 主文件下载地址:https://github.com/wbond/sublime_package_control
使用方法:
快捷键 Ctrl Shift P(菜单 – Tools – Command Paletter),输入 install 选中Install Package并回车,输入或选择你需要的插件回车就安装了(注意左下角的小文字变化,会提示安装成功)。
参考:
https://sublime.wbond.net/installation#st3