PHP environment building and PHP Environment Building

Source: Internet
Author: User

PHP environment building and PHP Environment Building

Download the development environment wampserver

Download sublime text 2

Sublime usage tips

1: Install beautiful programming Fonts
Http://pan.baidu.com/s/1xMex9 download "programming fonts-Yahei las Hybrid ",
Double-click Installation

2: Decompress sublime to your program directory, such as D:/programe files/

3: ctrl + B Open the browser. If you have installed apache and nginx, and assume that your www directory is D: \ www \\

Edit sublime Text/Data/Packages/User/open_broswer.py
Url_map = {
'D: \ www \ ': 'http: // localhost /',
}

[Note] D: \ www \ should point to the real directory of your localhost

Then !!
Click --> Preferences-> Key Bindings-> User
Add the following content to the interface that appears (If yes, you do not need to add it ):
[
{"Keys": ["ctrl + B"], "command": "open_browser "}
]


4: PHP syntax installation prompt (you can configure this step when learning PHP)
Toolbar: Preferences-> Package Settings-> SublimeLinter-> Settings-User
{"Sublimelinter": true,
"Sublimelinter_executable_map ":
{
"Php": "D :\\ amp \ php \ php.exe" Replace the left-side address with the php.exe address.
}
}


4: sublime shortcut
Ctrl + l select the entire line (Press and hold-continue to select downstream)
Ctrl + kk Delete from cursor to end of line
Ctrl + shift + k Delete the entire row
Ctrl + shift + d copy the entire row where the cursor is located and insert it before this row
Ctrl + j merge rows (multiple rows to be merged have been selected)
Ctrl + ku to uppercase
Ctrl + kl to lowercase
Ctrl + kl to lowercase
Ctrl + d (Press and hold-continue to select the next same string)
Ctrl + m move the cursor to the start or end position in parentheses
Ctrl + shift + m select the content in the brackets (Press and hold-continue to select the parent bracket)
Ctrl +/comment out the entire line (if the selected content is used, the effect is the same as that of "ctrl + shift +)
Ctrl + shift +/comment on selected content
Ctrl + space is automatically completed (win conflicts with system shortcut keys and needs to be modified)
Ctrl + z undo
Ctrl + y resume undo
Ctrl + shift + v paste and auto indent (written by other brothers, the auto indent of the tested win system is invalid)
Ctrl + m jump to the corresponding parentheses
Alt +. Close the current tag
Ctrl + shift + a select the cursor position parent tag
Ctrl + shift + [collapse code
Ctrl + shift +] Show Code
Ctrl + kt fold Property
Ctrl + k0 show all
Ctrl + u soft undo
Ctrl + t word Interchange
Ctrl + enter
Ctrl + shift enter before inserting a row
Ctrl + k backspace Delete from cursor to first line
Ctrl + shift + up and uplink Interchange
Ctrl + shift + down swap with downstream
Shift + tab remove indentation
Tab indent
Sort F9 rows by a-z)

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.