Perhaps you can use Dreamweaver, notepad++ or EditPlus to complete your system, but the so-called "工欲善其事, its prerequisite", I think a force of the IDE is necessary for the novice, and Zend as the Phper recognized as the most former IDE, Naturally became my choice, I installed the version is 7.2.1, this article on the introduction of the "new" tool for the transformation of it, finally left a few questions let the experts to solve.
1. Change Zend Working directory
2. Change Zend Font
Go to window--preferences--general--appearance--colors and Fonts--basic--text font to modify, I still like Consolas's 16th number:
3. Change the default settings for new document templates
By default, new PHP files are automatically generated with the following code:
Only this line, I would like to be able to create a new PHP file can generate a closed PHP tag, so go to window, Preferences, PHP, Editor, Templates, new simple PHP F Ile Modification:
4, modify the automatic prompt code speed
Zend is a chronic child, the default code hint delay is 500 milliseconds, obviously not in line with the coder's temper, so into the window----Preferences, PHP------ Auto Activation, set the speed of the code to automatically prompt 500 to 50:
5. New Template
Zend inside has already brought a lot of templates, you can go to the above to modify the default new PHP file template where to browse, but inevitably there will be insufficient use of the situation, so we need to create a new template:
Note In the context select newphp, the template name cannot be found when creating the new.
6. Change shortcut keys
This and VS is similar, I believe we will inevitably have some shortcut keys to the key, such as the ctrl+k,c as a shortcut key, which is obviously two hands can be completed work, how fast get up ha, so we will make changes, such as modified into Ctrl+e,c, And Zend in the default block comment is ctrl+shift+/, the cancellation block comment is ctrl+shift+\, and add or cancel a single line of comments, the default is to switch ctrl+/, I still do not want to two hands to operate, so decisive change, I changed the single-line comment switch is ctrl+e, The block comment is Ctrl+r, and the cancellation block comment is ctrl+g.
In addition to change debugging and VS's customary consistency, debug changed from F11 to F5, run from ctrl+f11 to ctrl+f5,step into F5 by F11,step over F6 to F10.
The changes in the two sections above can be seen by entering "comment" and "Debug" in the Search box.
7, Installation Jseclipse
JS hints to be strong, and Zend itself with a little weaker, here is a better choice is to install Jseclipse plug-ins, we went to help, install Newsoftware
Here are two methods of installation, one is to add an online installation address Http://download.macromedia.com/pub/labs/jseclipse/autoinstall, and of course, to download the installation package to this machine, to install, If you unzip the local folder to find the choice to determine, or you do not bother to unzip can also directly select archive.
All the way next, you can install the complete.
Install to select Jseclipse as the default JavaScript editor before you can use Jseclipse, enter Editors, General, Preferences, window, and so on. Assocaitions:
Set "Default".
Similarly, the code hints are modified faster:
The original "Outline reparsing delay (ms)" has a default value of 200, and the "Code completion popup delay (MS)" is the default value.
8. Window Layout
Use Alt+shift+q,v to bring up variable windows to track the values of related variables when debugging
In addition, Debug and debug output Windows can be recalled for easy tracking and debugging
Also in the Window--show view of the PHP function window, lazy to open the manual when you can take a look.
The final layout to look pleasing to the eye, or to make a look like VS, where the following piece can be minimized to increase the work area.
9: Comments
Everyone in the VS for a function to add comments will be three consecutive input/, so you can add the function of the summary, I thought this function in Zend Rimini have, but still in the occasional note found, is to type/**, and then enter the function can be added to the comment, the effect
Well, the above is probably my transformation of the Zend, and finally left a few in the VS I used to, but in Zend also temporarily did not find the implementation of the problem, hope that Daniel will give guidance:
1, in VS I will set all the files are automatically wrapped, that is, the code line display is not finished when the line will be displayed, rather than continue to display, so that a horizontal scroll bar, so that the code dragged to drag, it is very important to affect the readability of the code. I now only find that there is a "Toggle Word wrap" option right in the workspace to let the current page wrap, but not to find a feature setting that wraps all the files in a single line.
2, in addition, often use a "go to define" function, that is, in the function or variable right-click, you can go to the definition, and then go to the function or variable initial definition of the line, this is more useful when the file, but in the Zend also found.
3, there is a more common function is I input a function or variable, Zend will definitely prompt ha, good, assuming now I accidentally point to something else, such as touching the touchpad, so because the mouse click on the reason, the smart cue box will definitely disappear, right, At this time there is no way to press a key, such as the cue box out, instead of knocking this half of the function to delete and start from scratch, let the prompt box appear. This is ctrl+j in VS, but it's not found in Zend.
The above describes the configuration and use of Zend Studio, including aspects of the content, I hope to be interested in PHP tutorial friends helpful.