Installed plug-in directory "% appdata % \ sublime text 2 \ packages"
Green plug-in directory % sublime_home % \ data \ packages
Integrate PHP interpreter
Source
{
Http://www.moreofless.co.uk/sublime-text-php-build-system/
Http://www.xcjs.com/2012/01/02/adding-a-php-build-system-to-sublime-text-2/
Http://addyosmani.com/blog/custom-sublime-text-build-systems-for-popular-tools-and-languages/
}
Open sublime text, select Tools> build system> new build sysetm, and modify it
{
"Cmd": ["d :\\ Wamp \ PHP \ php.exe", "$ file"],
"File_regex": "php $ ",
"Selector": "source. php"
}
Stored in the C: \ Documents ents and Settings \ [user name] \ Application Data \ sublime text 2 \ packages \ user directory by default, and saved as PHP. sublime-build, and restart sublime text to compile it with Ctrl + B. PHP file.
Install plug-insThere are two methods
{
1. Use package Control for Installation
2. manually download the zipor tar.gz file in github, decompress it to the plug-in directory, and restart sublime. If the plug-in still does not take effect, use package control: Enable package to activate the plug-in.
}
Plugin installation record
{
Package Manager
Package Control
GBK encoding support
[
Converttoutf8
GBK encoding support
]
AlignmentCodeSort and align the Code with = as the Separator
Brackethighlighter brackets with semicolons highlighted and matched
New name of Zen coding in Emmet (with pyv8 plug-in added), used to quickly compile html/CSS
Sublimecodeintel(18mb, you can download the tar.gz package first, and then install it manually) the code prompts that you need to configure sublimecodeintel \. codeintel \ config and add the corresponding compiler/Interpreter location and other reference paths.
JavaScript code snippet prompt
[
Javascript snippets
JS snippets
]
Jsformat JavaScript code format display
Auxiliary Tools for generating comments doc, such as docblockr JavaScript and PHP
Autophpdollar automatically identifies the $ symbol of the PHP variable. Does windows not work?
Phpdoc * PHP generate annotation Doc
PHP code formatting
[
Phpbeautifier
Phptidy
]
Ini file color syntax display
Theme-soda is the most popular theme template, and the built-in monokai of sublime is also good.
}