Develop code commenting habits to help you better use the NetBeans Navigator

Source: Internet
Author: User
Tags netbeans

In order to quickly find the function or method you want to find in a class, or in a method library file, when writing PHP code in NetBeans, we usually use the NetBeans navigator.

Let's look at an example of a navigator:

  

As you know, code in PHP is not used to describe variable types when declaring variables.

But if we just need to use the method when we quickly query a class library, we don't need to know where the method is and what kind of variables we need to pass.

So by reading the navigator, we can complete our query work, is the best.

First look at the following code:

  

Follow the instructions above

Only add code comments in accordance with the points in the comments above will appear in the navigator, displaying the passed-in variable type and the return variable type.

  

Develop code commenting habits to help you better use the NetBeans Navigator

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.