Use Zend Studio

Source: Internet
Author: User

Maybe you can use Dreamweaver, notepad ++, or editplus to complete your system, but the so-called "to do good things, you must first sharpen the tool ", even though a powerful IDE is quite necessary for new users, Zend, as the top ide recognized by phper, naturally became my choice. The version I installed is 7.2.1, this article will introduce the transformation of this "new" tool, and leave a few questions for experts to solve.

1. Change the Zend working folder

2. Change Zend font

Go to window -- preferences -- General -- appearance -- colors and fonts -- Basic -- text font to change the settings. I still like the 16th of consolas:

 

3. Change the default settings of the new document template.

By default, the automatically generated code for creating a PHP file is: <? PHP

Only this line. I want to generate closed PHP labels when creating a PHP file, therefore, choose Window> preferences> php> editor> templates> New Simple PHP file:

4. Modify your own prompt code speed

Zend is a chronic child, and the default code prompts that the delay is 500 milliseconds, obviously not in line with the coder's impatient temper, therefore, choose Window> preferences> php> editor> content assist> auto activation, and set the speed 500 automatically prompted by the code to 50:

5. Create a template

There are already many templates in Zend. You can go to the above to change the default new PHP file template, but it will inevitably not be enough, so we need to create a new template:

Note that newphp is selected in context, and the Template Name cannot be found during creation.

6. Change the shortcut key

This is similar to vs. I believe you will not be happy with the key positions of some shortcut keys. For example, CTRL + k and C will be used as the staring shortcut keys, this is obviously the work of the two hands to complete the operation. How can it get faster? So we will make changes, for example, to Ctrl + E, C, etc, in Zend, CTRL + Shift +/is added by default, CTRL + Shift +/is used to cancel the block gaze, and CTRL + Shift +/is used to add or cancel a single row gaze. By default, CTRL +/is switched /, I still don't want to operate it with just two hands, so I can get rid of it. I changed the single-row staring switch to Ctrl + e, the block staring is Ctrl + R, and the block staring is Ctrl + G.

In addition, the debugging is changed from F11 to F5, from Ctrl + F11 to Ctrl + F5, from step into F11 to F11, and from step over to F6.

You can enter "comment" and "debug" in the search box.

7. Install jseclipse

JS prompts should be strong, while Zend itself comes with a little weak. The better option here is to install the jseclipse plug-in. We will go to help-> install newsoftware in turn.

There are two installation methods, one is to add the online installation address ghost.

All the way to next, the installation is complete ..

After installation, select jseclipse as the default JavaScript editor to use jseclipse. Choose WINDOW> preferences> General> editors> file assocaitions:

Set "default.

Similarly, the Code prompts are also updated faster:

The default value of the original "outline reparsing delay (MS)" is 500, and "Code Completion popup delay (MS)" is 200.

8. form layout

Use Alt + Shift + q and V to call up the variable form, so that you can track the values of related variables during debugging.

In addition, the debug and debug output forms can be called up to facilitate tracking and debugging.

The PHP function form is also called up in window -- show view, so you can take a look when you are too lazy to start the pipeline.

The final layout is similar to vs in order to see its smoothness. The following parts can be minimized to increase the workspace.

9. gaze

When you stare at a function in Vs, three values are input consecutively, so that the summary of the function can be added. I thought this function was available in Zend, but I found it in an accidental gaze, that is, I typed/**, and then press enter to add the gaze to the function.

Well, the above is probably my transformation to Zend. I often use it in Vs, but I still haven't found implementation problems in Zend, hope you can give me some advice:

1. in vs, I will set all the files to automatically wrap, that is, when a line of code is not displayed, it will wrap, instead of continuing to display, and a horizontal scroll bar will appear, in this way, the code is dragged away, which affects the readability of the Code. I only found that right-click the workspace and there is a "toggle Word Wrap" option to display the current page with a line break. However, no function settings were found to unify all the lines in all files.

2. in addition, we often use the "go to definition" function, that is, right-click a function or variable to convert it to definition, then, the row defined by the function or variable is transferred. This is more practical than limit when there are many files, but it is not found in Zend.

3. another common feature that is more common than the notebook is that I enter a function or variable. Zend will certainly prompt me. Well, if I accidentally click something else now, for example, when I encounter a touchpad, in this case, the intelligent prompt box will definitely disappear due to mouse clicks. Is there any way to call the prompt box by pressing a key or something like this, you do not need to delete this half-coded function and input it from the beginning to display the prompt box. This is Ctrl + J in Vs, but it is not found in Zend.

Original article: blog

Use Zend Studio

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.