-
Package Control
描述:Sublime Text 用来管理插件的插件
官网:https://packagecontrol.io/installation
-
Emmet
描述:HTML/CSS 快速编辑插件
官网:http://emmet.io/
-
SublimeLinter
描述:代码检测工具
官网:http://sublimelinter.readthedocs.org/en/latest/index.html
检查PHP: 然后再安装 sublimelinter-php ,然后设置路径 为包含 php.exe 的路径, 如:E:\\php
-
{ "user": { "linters": { }, "paths": { "linux": [], "osx": [], "windows": [ "D:\\xampp\\php" ] }, }}
-
Sublime-Better-Completion
描述:javascript/css/jquery等代码提示工具
官网:https://github.com/Pleasurazy/Sublime-Better-Completion
-
gbk 转 utf8 ,解决中文编码错乱
ConvertToUTF8 插件
-
PHP:快速生成php类代码
好的工具能帮助我们事功半倍,提高开发效率,好的工具是因为它的功能好用,还能体积小,没错就是sublime软件。今天给大家介绍一个插件,php类生成,现在都是OOP时代啦,快速生成类是很有必要的哦。插件地址:https://packagecontrol.io/packages/PhpCodeGen安装即可,默认快捷键是跟其他冲突,改一下就行。原本这样子的:{"keys": ["ctrl+t"], "command": "php_code_gen"},把 ctrl+t改成你自己的即可。好了看下怎么用吧。@ class | @ c生成一个类。最后一个参数是类名。Basic Example:@class MyClassOutput:/** * MyClass documentation goes here... */ class MyClass {OptionsAbstract Class 抽象类-aTag group:注释组Applies user defined tags to the docblock-tagClass extends other class继续类,前面是被继续的类,后面是创建的新类-e ExtendedClassName实现接口(s)。您可以指定多个接口使用,如下所示。但是不能有多个接口之间的任何空间。-i Interface1,Interface2 接口生成Example:@class -a -e ExtendedClass -i Interface1,Interface2 MyClassOutput:/** * MyClass */abstract class MyClass extends ExtendedClass implements Interface1, Interface2 {类结束符@ endClass | @ ec结束了类声明并创建最后花括号@ interface | @ i生成一个接口。您可以指定多重继承的接口使用,如下所示。但是不能有多个接口之间的任何空间@interface -e InterfaceA,InterfaceB MyInterfaceOutput:/** * MyInterface documentation goes here... */interface MyInterface extends InterfaceA, InterfaceB {@ endInterface | @ ei接口声明并创建最后花括号结束@ const 常量生成Creates a constantBasic Example:@const AGE 15Output:/** * AGE */const AGE = 15;OptionsWrap constant value in quotes 。创建一个字符串包含-qExample:@const -q NAME JOE SHMOQuote Output:/** * NAME */const NAME = 'JOE SHMO';@ property | @ p创建一个属性或类变量。属性的修饰符将默认设置中定义是什么。Basic Example:@property strNameOutput:/** * strName * @var datatype */protected $strName;OptionsVisibility: public | protected | private 公共属性,保护,私有-vApplies user defined tags to the docblock-tagReturn type 返回类型-tStatic Property 静态-sGenerate Setter method for property 设置方法,-setGenerate Getter method for property 取得方法-get@ method | @ mCreates a class methodBasic Example:@method initOutput:/** * init * @return void */public function init() {}Visibility: public | protected | private-vApplies user defined tags to the docblock-tagStatic Method-sAbstract Method-aFinal Method-fSpecify the return type for the Docblock-rMethod Parameters: See How to use use -p in @ method and @ function command-pAdvanced Example:@method -s -v protected -f -p {DataObject:data = null} initOutput:/** * init * @param DataObject $data = null * @return void */final protected static function init(DataObject $data = null) {}@ function | @ fCreates a standard functionBasic Example:@function myFuncOutput:/** * test * @return void */function test() {}Advance Example:@function -p {User:objUser = null} -r object initWithUserOutput:/** * initWithUser * @param User $objUser = null * @return object */function initWithUser(User $objUser = null) {}Specify the return type for the Docblock-rApplies user defined tags to the docblock-tagStatic Method-sFunction Parameters: See How to use use -p in @ method and @ function command-p@ phpCreates an opening php tag@endPhpCreates a closing php tag
8. FTPSync
描述:好用的FTP插件