Zend studio shortcut list

Source: Internet
Author: User

Note: This article omitted the description of "General shortcut keys", such as: Ctrl + n = new, CTRL + O = open, CTRL + c = copy, CTRL + V, CTRL + x ...... And so on. Almost all software.
Is a set of common shortcut keys, and focuses on the unique shortcut keys of zde, understanding and flexible use of these shortcut keys, will certainly help you more easily in the actual project operations.
(Why do you think that I am playing a game? haha !)

Editing
Key combination Implement Functions Applicable Conditions
CTRL +/ Single line comment. When the current PHP code is used, add the double slash line comment in the row where the cursor is located. If multiple lines are selected, add the double slash in each line. When the code is HTML, add the line before and after the line <! --> Comment. Multiple lines are selected and added before and after the selection. <! --> Add comments instead of each line PHP code and HTML code are all applicable and not applicable to the CSS section.
CTRL + Shift +/ Block comments: Add/**/block comments to the selected PHP code. If no code is selected, add block comments to the row where the cursor is located. PHP Code is applicable. The function of HTML code is the same as that of Ctrl + /.
CTRL + u All selected code snippets are converted to uppercase Applicable to PhP, HTML, etc.
CTRL + L All selected code snippets are converted to lowercase letters. Applicable to PhP, HTML, etc.
CTRL + d Copy the row where the cursor is located Applicable to All codes
CTRL + E Delete the row where the cursor is located Applicable to All codes
Tab/Shift + Tab Press tab to add code indent. The default value is 4 spaces. You can set it in preferences. Shift + TAB reduces indentation. This operation is equally effective for multiple lines. That is, multiple rows increase/decrease indentation at the same time. Applicable to All codes
CTRL + ALT + F Search for files. The "Search for files" dialog box is displayed. Applicable to the entire zde Environment
CTRL + backspace Delete the word before the cursor or a symbol. Note that zde understands the word here, which is different from the word in English. Applicable to All codes
CTRL + G To the row. Open the go to line dialog box, enter the number of rows to go to the corresponding line, this is a general shortcut Applicable to the entire zde Environment
Alt + →, ↓ The right arrow is to locate the next position of the cursor, and the left arrow is to locate the previous position of the cursor. Applicable to the entire zde Environment

 

Environment Switch
Key combination Implement Functions Applicable Conditions
ESC Hide the auxiliary window to maximize the editing area, while the File Manager window is not hidden. Applicable to the entire zde Environment
CTRL + W Switch to automatic line feed, that is, whether a horizontal scroll bar appears when the code is too long
CTRL + Tab Switch between different editor tabs. It can also be described as switching between multiple open file windows.
CTRL + F4 Close the current tab. Alt + F4 disables the entire zde environment.

 

HTML Tag
Key combination Implement Functions Applicable Conditions
CTRL + 1, 2, 3 Add All code sections
CTRL + enter A <br/> label is generated when a row is disconnected. Note that zde automatically generates the <br> label, which does not comply with web standards.
CTRL + ~ A space is a note :~ The key is on the left side of the number 1 on the PC keyboard, and on the top of the tab key
CTRL + B Generate a pair of <B> labels in bold. Web standards seem to advocate the use of <strong> </strong>
Alt + I Italic, generating a pair of <I> labels

 

Bookmarks
Key combination Implement Functions Applicable Conditions
F2 Add/delete bookmarks All code sections
CTRL + F2 Jump to the next bookmarks of the current file
Alt + F2 Switch between all bookmarks of the current project
CTRL + Shift + F2 Delete all bookmarks
CTRL + Shift + m Show bookmarks dialog box

 

Zend studio debugging shortcut list
Key combination Implement Functions Applicable Conditions
F9 Add/delete breakpoints All code sections
F10 Process by process. Execute the debugging 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 The URL of the profile. Open 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 result is returned after one-step execution.
F11 Statement by statement. One-step execution to the next row to be executed
Shift + F10 Execute to the cursor line. Execute the code to the row where the cursor is located.
CTRL + F5 Uninterrupted execution script
Shift + F5 Stop Debugger
CTRL + ALT + B Display in the browser

Note: The debugging shortcut key is used only when debugging the Code. For details about how to debug the script in Zend studio and how to set up a debugging server, see the subsequent tutorials. References:

E-Magazine phper Article 6 Zend studio-powerful tool for compiling PHP code

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.