Zend Studio Practical Shortcut key Checklist (meticulously organized) _php tutorials

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 double slashes to each row, and add comments before and after the line when the code is HTML, and select multiple lines to add comments before or after the selection , rather than each row PHP code, HTML code all applicable, not applicable to the CSS section
ctrl+shift+/ Block comments, add block comments 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 separately

HTML tags,

All Code Sections
Ctrl+enter Break, which produces a
Label, note here that Zde automatically produces the
tags, not conforming to web standards
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, creating a pair of tags, web standards seem to advocate the use of
Alt+i Italic, producing a pair of labels

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.
Resources:
E-Magazine "Phper" sixth issue of "Zend studio--writing PHP code tool"
Zend Studio Help Documentation

Second, Zend shortcut key combination

Edit function key combination implementation 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 and add a double slash to each row, and when the code is HTML, add the!----to the comment before and after the row, and select the multiple rows to add the!----to the comment before and after the selection, rather than adding PHP code to each line, HTML code all applicable, does not apply to the CSS section
ctrl+shift+/block comments, for the selected PHP code Add/*/block comments, if no code is selected, the cursor is the line to add a block comment PHP code for the same function as the ctrl+/of HTML code
Ctrl+u The code snippet selected is all converted to uppercase PHP, HTML, and so on
Ctrl+l the selected code snippet is all converted to lowercase php, HTML, etc. all applicable
ctrl+d copy cursor line All code is applicable
Ctrl+e Delete cursor line All code is applicable
Tab/shift+tab press Tab to increase the code indentation, the default is 4 space position, can be set in preferences, shift+tab reduce indentation, this action is also effective for multi-line operation. That is, multiple lines increase/decrease indent at the same time. All codes apply to
Ctrl+alt+f Find in Files, open the Find in Files dialog box for the entire ZDE environment
Ctrl+backspace Remove the word before the cursor, or a symbol, notice that the word "one" is understood by the Zde itself, With a word in English. All codes apply to
Ctrl+g go to line. Open the Go To Line dialog box, fill in the line number to go to the appropriate line, this is the general shortcut for the entire ZDE environment for the
alt+→,← right arrow is positioned to the next position of the cursor, the left arrow is anchored to the previous position of the cursor. The entire ZDE environment is applicable to the

Environment switch key combination implementation conditions
ESC hides the secondary window so that the editing area is the largest, and the File Manager window does not hide the entire Zde environment applies
ctrl+w toggle Wrap, that is, when the code is too long, the horizontal scroll bar appears.
Ctrl+tab switches between the individual editor tabs, or it can be described as toggling between multiple open file Windows
Ctrl+f4 Closing the current tab, ALT+F4 is turning off the entire ZDE environment, and note the difference between

HTML tag key combination implementation function conditions
ctrl+1,2,3 Add a pair of

HTML tags, all code sections
Ctrl+enter breaks, which produces a
Label, note here that Zde automatically produces the
tags, not conforming to web standards
Ctrl+~ space is a note: ~ keys are located on the left side of the PC keypad number 1, above the TAB key
Ctrl+b Bold, produces a pair oftags, web standards seem to promote the use of
Alt+i Italic, producing a pair ofLabel

Bookmark Operation key implementation function conditions
F2 Add/Remove bookmarks All code section
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 Display Bookmarks dialog box

Zend Studio Debug shortcut key list key implementation features applicable conditions
F9 Add/Remove breakpoints All code section
F10 process. Stepping through the debug file to the next line
F5 begins execution. Executes the debug file until a breakpoint is encountered.
F8 Debug URL. Open the Debug URL dialog box
F12 profile URL. Open the Profile URL dialog box
Shift+f8 add a watch point. Open the Add Monitor Point dialog box
Shift+f11 jump out. 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

Three

I have been using Zend Studio for PHP development, if you can master the shortcut keys, and can use the habit, then really can improve a lot of development efficiency, here I share with you.

The first is the shortcut key for editing the function
Ctrl + D If you have a selection, copy and paste the selected section directly, and if you do not select it, copy the line where your cursor is located, and the copy does not enter the system's pasteboard.
Ctrl + E Clear Line
CTRL + Space generally this key is blocked by the input method, its function is to display the code to complete

Here is the shortcut key for code collection
Ctrl + Shift + 1 Close all non-PHP sections
Ctrl + Shift + 2 to close all classes
Ctrl + Shift + 3 to close all functions
Ctrl + Shift + 4 to close all comments */*/
Ctrl + Shift + E expands all the closed sections
Ctrl + Shift + C to close all expanded sections

http://www.bkjia.com/PHPjc/328113.html www.bkjia.com true http://www.bkjia.com/PHPjc/328113.html techarticle 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 software is a set of shortcut keys that are common to ...

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