Code Snippets
Benefit from our communities extensive knowledge and be updated with the latest snippets from Zend’s site. Edit -> Show Snippets -> ‘Update Snippets’.
Instant URL Debugging
Enter the URL you want to debug and press Debug -> Debug URL.
Code Folding
Manage large amounts of code by automatically collapsing and expanding. Tools -> Preferences -> Editing
Customise Scheme
Use a default scheme or define your own. Tools->Preferences-> Colors & Fonts
Keymap Customization
Create a unique key combination for each action. Tools->Preferences>KeyMap
Code Analyzer
Get analysis information with great ideas on how to improve your code. Right click on a directory in the project tab and press Analyze
Clone View
Create a clone of the current editor for viewing and editing two files at the same time. Right click in the editor and choose ‘Clone View’
Code Documentation
Create documentation for your PHP files in your favorite HTML style. Tools -> PHPDocumentor
Zend Studio 5.x Default Keymap
Manage Ctrl + N - Add New Document Ctrl + O - Open Document Ctrl + F4 - Close Document/Window Ctrl + Shift + F4 - Close All Ctrl + Shift + O - Open Project Ctrl + Shift + N - New Project Ctrl + S - Save File Ctrl + Shift + S - Save As Ctrl + Alt + S - Save All Editor Ctrl + Space - Show Code Completion Ctrl + Space + Shift - Show Function Arguments Ctrl + Shift + F - Reformat Code Ctrl + / - Add Remove Comment Ctrl + / + Shift - Add Remove PHP Block Comment Ctrl + W - Toggle Line Wrap Ctrl + Z - Undo Ctrl + Y - Redo Ctrl + E - Erase Line Ctrl + D - Duplicate Selection Ctrl + L - Change Selection to Lower Case Ctrl + U - Change Selection to Upper Case Ctrl + B - Bold Tag Alt + I - Italic Tag Ctrl + # [1-3] - Heading 1-3 Tag Ctrl + Enter - Break Tag Ctrl + Back + Quote - NBSP Tag F1 - Open Function Help Code Folding Ctrl + Shift + 1 - Collapse All Non-PHP Ctrl + Shift + 2 - Collapse All Classes Ctrl + Shift + 3 - Collapse All Functions Ctrl + Shift + 4 - Collapse All DocBlocks Ctrl + Shift + 9 - Fold in Scope Ctrl + Shift + E - Expand All Folds Ctrl + Shift + C - Collapse All Folds Debugging & Profiling F8- Debug URL F12 - Profile URL Ctrl + F5 - Run F5 - Go F10 - Step Over F11 - Step Into Shift + F11 - Step Out Shift + F5 - Stop Debug Shift + F10 - Go to Cursor F9 - Toggle Breakpoint Shift + F8 - Add Watch Ctrl + Alt + B - Show In Browser Navigation Ctrl + Alt + G - Goto File Ctrl + Shift + G - Goto PHP Resource Ctrl + G - Goto Line Ctrl + F2 - Goto Next Bookmark Alt + F2 - Goto Next Project Bookmark Ctrl + M - Goto Matching Bracket Alt + Left/Right - Go Back/Forward F2 - Toggle Bookmark Ctrl + Shift + F2 - Remove All Bookmarks Ctrl + Shift + M - Open Bookmarks Dialog Ctrl + Shift + R - Show Recent Files F4 - Open Next Entry Find/Replace Ctrl + F - Find F3 - Find Next Shift + F3- Find Prev Ctrl + H - Replace Ctrl + Alt + F - Find In Files CVS/Subversion Alt + U - Update Alt + C - Commit Tools Alt + Ctrl + A Analyze Code Ctrl + Shift + I Check Include Files Code Templates To add a Template, press Tab to insert code. PHP Templates itar - Iterates an Array itdir - Iterates a Directory prv - Prints a Value inst - Instance of Statement fore - For each Statement swi - Switch Statement if - If Statement while - While Loop my_fr - Mysql_Fetch_Row() Loop my_gc - Trap Code Output cln - Clone an Object pcon - Call Parent Constructor fnc – Function Statement HTML Templates href - Create a Hyperlink ihref – create an image hyperlink form - Create a Get Form html - Create Html Page inbu - Input by Button insub - Input Type Submit intxt - Input by Text Field ol - Ordered List table - Table 3 Rows by 3 Columns jscript - JavaScript Tag select - Select in Form style - Text/Css Style inch – Input by checkbox ta – form textarea
Debug Server Connections
Check connectivity with the Debug Server. Tools -> Check Debug Server Connection
SQL Connectivity
Add SQL database connection in one click. Right click in the SQL tab and choose ‘Add Server’.
Goto File/ Resource
Navigate between files and resources. Go to -> Go to File / Resource
Code Templates
Improve your coding speed by adding code templates to the existing list and using them during developing.
Web Services
Easily generate WSDL files using the WSDL Generator. Tools -> WSDL Generator.
Remember SQL Queries
Every SQL query is saved in a database history, so you can easily restore and execute an old one.
Open/Hide Windows
Hide all the peripheral windows. Press Escape Open all the peripheral windows. Press Shift+Escape
Profile URL
Enter the URL you want to profile and receive full time report information. Debug -> Profiler URL
© 1999-2008 Zend Technologies, Ltd. All rights reserved
Discussion Forums Newsletter
Zend’s monthly Newsletter contains the hottest updates including, special promotions and developer information such as article summaries on Zend.com. Every month, the Studio Development Team will provide two usability tips that will assist in working smarter and more effectively with Zend Studio. Sign-up for the Zend Newsletter in the Developers Zone visit: www.zend.com/devzone
Code Gallery (online)
At Zend, we encourage our developer community to take part in actively publishing their code and in return have a place where other developers can benefit from others. Code in the gallery is reviewed and ranked by other developers, visit: http://www.zend.com/codex.php
Visit: http://www.zend.com/ forums/