Fork from Additional PHP Snippets append snippents for my general purpose using.
Use Sublime Text 2's Package Control (Preferences -> Package Control -> Install Package -> Additional PHP Snippets) to install this plugin.
We add the following snippets to speed up writing PHP code.
To use any of the snippets, simply type the name of the snippet, then press the key. Sublime Text 2 will insert the snippet, and you can then use the key to move through any placeholders that you need to replace.
For LICENSE.md-type files:
- license-mit: insert the MIT license
- license-newbsd: insert the new BSD license
__ For PHP files:__
- php-getset: create getter/setter methods quickly and easily (based on a snippet originally published by @akrabat)
- php-mit: insert the MIT license as a PHP docblock
- php-newbsd: insert the new BSD license as a PHP docblock
- php-section-comment: insert a prominent comment to help break up the sections of your class
- 將php-section-comment內格式香修改用以便可以直接支援cmd+\方式於註解區塊內換行
/*================================================================== * * -----------------------------------------------------------------/
- 整合之前所做的幾個php snippents放入此一專案。