New computer PHP work, ready for something
A: PHP environment phpstudy
: http://www.phpstudy.net/a.php/198.html
Two: Upload Tool
FileZilla required mode of transfer binary
Three: Editor EditPlus
Set up:
File inside, 1. Type: Unix code: Utf-8
2. Keep files when creating backups removed
3. Background setting RGB is 199,237,204 red bean paste Green
Four: Sublime Text2 installation and plug-in
1. Download
2. root directory to create a folder data and then open sublime Text2
3. Install the package Control
ImportUrllib2,os; pf='Package Control.sublime-package'; IPP = Sublime.installed_packages_path (); Os.makedirs (IPP)if notOs.path.exists (IPP)ElseNone; 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('Restart Sublime Text to finish installation')
4. Common plugins:
1. Emmet for HTML structure
2.BracketHighlighter curly braces for easy viewing
3.DocBlockr Auto-completion annotation http://www.cnblogs.com/huangtailang/p/4499988.html
4.html-css-js-pretty formatting html css js needs to download node. js https://nodejs.org/en/download/download. exe
5.CTAGS for tracking code need to download Ctags.exe http://pan.baidu.com/s/1hqS30G0 download ctags, also need to add to environment variables inside
6.sublimerge Pro is used to compare files differently
7.phpbeautifier User formatted PHP code
Required: 1. Install pear http://pan.baidu.com/s/1hqS30G0 Download Pear http://www.cnblogs.com/bugY/archive/2012/07/06/2578972.html
Command line execution Pear install php_beautifier-0.1.15
Install directly through the sublime package controller Phpbeautifier
Open D:\wamp\bin\php\php5.3.13\pear\PHP\Beautifier\Filter Pear.filter.php and phpBB.filter.php file below to comment out require_once (' Pear/config.php '); This line of code
Open Sublime Phpbeautifier plug-in file (sublime under Preferences-browse packages), find Phpbeautifier\ phpbeautifier.py, open him, to 26 lines, modify cmd = "Php_beautifier" for cmd = "D:\\wamp\\bin\\php\\php5.3.13\\php_beautifier.bat"
Finally, you can format the PHP code by using ctrl+alt+f in the PHP file.
Sublime Text2 PHP Common Plugin