Sublime text 2 installation and configuration notes

Source: Internet
Author: User
Tags gz file

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.
}

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.