Zend Studio shortcut keys

Source: Internet
Author: User

Note: This article omits "Universal shortcut key" description, such as: ctrl+n= New, ctrl+o= Open, ctrl+c= copy, ctrl+v,ctrl+x ... And so on almost all of the software is a common set of shortcut keys, and focus on zde unique shortcut keys, understanding and flexibility to use these shortcuts, will be able to help you in the actual project operation more flexible. (How to write the more I think I am doing the game cheats, haha!) )

editing features
Key Combinations Implementation features Applicable conditions
ctrl+/ Single-line comment. When currently in PHP code, add a double slash line comment on the line where the cursor is located, select multiple rows to add a double slash to each row, and add <!––> comment before and after the line when the code is HTML, and select multiple lines to add <!––> comments before or after the selection, rather than adding each row PHP code, HTML code all applicable, not applicable to the CSS section
ctrl+shift+/ Block comments, add a/* */Block comment for the selected PHP code, and if no code is selected, add a block comment to the line where the cursor is located PHP code for the same function as ctrl+/for HTML code
Ctrl+u All selected code fragments are converted to uppercase PHP, HTML, etc. are applicable
Ctrl+l All selected code fragments are converted to lowercase PHP, HTML, etc. are applicable
Ctrl+d The copy cursor is in the row All codes are applicable
Ctrl+e Delete the cursor in the row All codes are applicable
Tab/shift+tab Pressing TAB adds code indentation, which defaults to 4 spaces, which can be set in preferences, and Shift+tab reduces indentation, which is also valid for multiline operations. That is, multiple lines increase/decrease indent at the same time. All codes are applicable
Ctrl+alt+f Find in files, open the Find in Files dialog box Suitable for the entire ZDE environment
Ctrl+backspace Delete the word before the cursor, or a symbol, note that "a word" here is understood by Zde, with a word in English has a certain discrepancy All codes are applicable
Ctrl+g Go to line. Open the Go To Line dialog box, fill in the line number to go to the corresponding row, this is a universal shortcut key Suitable for the entire ZDE environment
alt+→,← The right arrow is positioned to the next position of the cursor, and the left arrow is positioned to the previous position of the cursor. Suitable for the entire ZDE environment

Environment switch
Key Combinations Implementation features Applicable conditions
Esc Hides the secondary window so that the editing area is the largest, and the File Manager window does not hide Suitable for the entire ZDE environment
Ctrl+w Toggle wrap, that is, if a horizontal scroll bar appears when the code is very long
Ctrl+tab Switch between individual editor tabs and can also be described as switching between multiple open file windows
Ctrl+f4 Close the current tab, ALT+F4 is to close the entire ZDE environment, note the difference

HTML tags
Key Combinations Implementation features Applicable conditions
ctrl+1,2,3 Add a pair of All Code Sections
Ctrl+enter Line break, that is to produce a <br/> tag, here note Zde automatically generated for the <br> tag, does not conform to the Web Standard
ctrl+~ A space is a note: the ~ key is located on the left of the PC keypad number 1, above the TAB key
Ctrl+b Bold, generate a pair of <b> tags, web standards seem to promote the use of <strong></strong>
Alt+i Italic, producing a pair of <i> tags

Bookmark actions
Key Combinations Implementation features Applicable conditions
F2 Add/Remove Bookmarks All Code Sections
Ctrl+f2 Jumps to the next bookmark in the current file
Alt+f2 Toggle between all bookmarks in the current project
Ctrl+shift+f2 Delete all bookmarks
Ctrl+shift+m Show Bookmark dialog box

Zend Studio Debug Shortcut list
Key Combinations Implementation features Applicable conditions
F9 Add/Remove Breakpoints All Code Sections
F10 Process-wise. Stepping through the debug file to the next line
F5 Start execution. Executes the debug file until a breakpoint is encountered.
F8 The Debug URL. Open the Debug URL dialog box
F12 The profile URL. Open the Profile URL dialog box
Shift+f8 Add a watch point. Open the Add Monitor Point dialog box
Shift+f11 Jump. Stepping to the first line after returning to execution
F11 The statement. Stepping to the next executed row
Shift+f10 Executes to the cursor line. Executes the code to the line where the cursor is located.
Ctrl+f5 Non-disruptive execution scripts
Shift+f5 Stop the debugger
Ctrl+alt+b Display in the browser

Note: Debugging shortcut keys is only used when debugging code, about how to debug scripts in Zend Studio, and how to build a debug server and so on, in the following tutorial will do a detailed explanation.

Zend Studio shortcut keys

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.