Since Zend has a new version of studio, Zend studio 9 has been installed to feel it quickly. Zend studio has never been better than Dreamweaver. It may be the concept of preemptible. I use Zend studio8CodeColor style changed to DW style, haha. Now zs9 has been installed. Fix it from scratch and make some modifications. This is a special record.
1. Modify the font
I didn't expect Zend studio 9 to show little Chinese characters. It seems a little small. Modify the settings as follows: open window> preferences> General> appearance> colors and fonts and find basic> text font. To use the default system font, click Use System font, I know that you do not seem willing to use the default font of the system, so click Edit to select the font you want.
At this time, win7 users may encounter a situation (XP does not know, other systems do not know), found that the font list, there is no desired font, it is clear that the system has more than N fonts, A small part is displayed here. In this case, you can click "show more fonts" to open the system font folder and find the desired font. It should be a hidden property, right-click it, and click "show. Click "OK"> "Apply"> "OK.
I prefer Courier New as the font for code editing.
2. Modify the font color
Currently, Zend studio's PHP code coloring solution is not very good, especially if the keywords are not highlighted, and the modification method is very simple. Window-> preferences-> PHP-> Editor-> syntax coloring. Modify the corresponding color. The following provides a Dreamweaver-like coloring scheme for your reference only.
Chinese |
English |
HEX |
RGB |
Variable |
Variable |
# 0066ff |
0,102,255 |
String |
String |
# Cc0000 |
0, 12, 0 |
Constant/internal constant |
Constants/internal Constants |
#552200 |
85,34, 0 |
Number |
Number |
# Ff0000 |
255, 0, 0 |
Reserved keywords |
Keyword |
#006600 |
0,102, 0 |
Block Separator |
PHP tags |
# Ff0000 |
255, 0, 0 |
Note |
Phpdoc comment |
# Ff9900 |
255,135, 0 |
Note |
Phpdoc |
# Ff4400 |
255, 68, 0 |
Single/multi-line comment |
Single/multi-line comment |
# Ff9900 |
255,135, 0 |
3. Shortcut Keys
This part is derived from the Internet and can be compared with window-> preferences-> General-> keys.
CTRL + B | refactor the project
CTRL + d | delete a row
CTRL + E | search for opened file names
CTRL + F | open this file search/replace, only search for the current file
CTRL + H | open the search and replacement window to search for the entire disk and Working Set
CTRL + k | find the next
CTRL + Shift + k | find the previous one
CTRL + L | move to a certain row of the file
CTRL + M | maximize/restore the current editing window
CTRL + N | create
CTRL + O | quick outline, which lists all variables and methods in a file and is useful for reading class files.
CTRL + p | print
CTRL + w | close the opened file
CTRL + number key/| you can collapse or expand the code segment
CTRL +/| comment on a single row
CTRL + backspace | Delete the word before the cursor. The definition of this word is understood by Zend. For example, if it is a symbol before, delete a symbol. If it is a word before, delete a word.
CTRL + Shift +/| select a code block and press the combination key to comment out the code block
CTRL + Shift + \ | cancel block comment
Tab/Shift + TAB | increase/decrease code indentation
Alt + enter | view the attributes of the current document
CTRL + Shift + F | to quickly format the code style, you can select the ZF code format (PS: how to set the format, you can choose "Preferences"> "code style"> "format"Program)
Alter +-> or <-| forward or backward in the edited position
CTRL + Shift + L | display the list of all shortcut keys (called "Beginner's key ")
CTRL + F12 | open the task (| PS: The task defines a specific working set. If you want to complete a registration module, there are three files in config. phpregister. class. PHP register. PHP | you can save these files as a task register. You only need to open register to open these three files at the same time. |)
CTRL + F9 | activate the task
CTRL + Shift + F9 | cancel the task
F11 | debug the current file
CTRL + F11 | run
F3 | open declaration, available in Working Set
Shift + F2 | open the PHP manual help and view the function details
CTRL + home or Ctrl + end | move the cursor to the file header or to the end of the file
Shift + home or SHIFT + end | select the text from the cursor to the beginning or end of the line
CTRL + Shift + M | Name of the Search Method
Zend studio debugging shortcut
F9 | Add/delete all code parts of a breakpoint
F10 | process by process. Execute the debug file in one step to the next line
F5 | start execution. Execute the debugging file until a breakpoint occurs.
F8 | debug URL. Open the debug URL dialog box
F12 | URL of the profile. Open the profile URL dialog box
SHIFT + F8 | Add a monitoring site. Open the Add monitoring point dialog box
SHIFT + F11 | jump out. The first line after the return result is executed in one step
F11 | Statement by statement. Step by step to the next row to be executed
SHIFT + F10 | execute to the cursor row. Execute the code to the row where the cursor is located.
Ctrl + F5 | execution script without interruption
SHIFT + F5 | stop debugger
CTRL + ALT + B | display in browser