Options Window: PHP: Custom Annotation Dialog Box

Use this panel to add or edit a custom PHP annotation.

Element Description

Name

Name of the custom annotation.

For

The context associated with the annotation. Choose one from the following:
  • function
  • class/interface (type)
  • method
  • field

Template

The template for the annotation. By default, the field contains a sample annotation template that you can edit. The template for the annotation uses the same syntax as code templates.

Documentation

The HTML documentation for the annotation. By default, the Source tab contains sample annotation documentation that you can edit. The Preview tab renders the HTML that is in the Source tab, displaying how the documentation appears when a user invokes code completion and selects this annotation.


Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.