The PHP Plugin offers a set of features that can be used for editing PHP source code, including:

  • Syntax highlighting
an IDE enhancement than enables highlighting PHP syntax constructions in files within a PHP project.
  • Code Folding
a feature that enables selective hiding and displaying sections of a currently-edited file with PHP source code.
  • Navigator
a feature which allows users to easily orientate in a file with PHP source code as well as to perform some basic actions.
  • Code Templates
a feature that enables using an abbreviation instead of a short reusable piece of source code (code snippet). Each code snippet has its own predefined scenario of input that helps to adjust the snippet's code. Some of code snippets can also wrap other pieces of the source code that is selected in the editor (see the "Surround With..." action).
  • Code Completion
a feature that allows the user to type a few characters and then get a list of context-sensitive proposals to complete the typed text.
  • Parameter Hints
a feature that shows info about the formal parameters of a function or a method in the context where the function/method is called.
  • Smart Indent
a feature that provides auto-formatting during the process of coding.
  • Formatting
a feature that automatically formats the code in a PHP source file.
  • Bracket Completion
a feature that automatically adds or removes paired quotes, parentheses, braces, and brackets during the process of coding.
  • Mark Occurrences
a feature that highlights all the references and redefinitions of an element under a caret (such as a variable, method call, or class reference). If a caret is placed on a method definition, all the potential exit points should be highlighted.
  • Error Detection
a feature that allows to see the errors discovered by the PHP parser. Parsing is started in the background when the user stops typing. Error messages are shown as error annotations.
  • Pair Matching
a feature that allows automatic highlighting of matching quotes, parentheses, braces, and brackets.
  • Semantic highlighting
a feature that identifies the calls, definitions, and parameters of a method as well as unused variables.
  • Go To Declaration
tries to redirect you to where the chosen type is defined.
  • Instant Rename
rename all occurrences of a variable within its scope.
  • Spell Checking

Besides, supporting the following features is planned:

  • Code Completion for the PHP documentation
code completion in the context of a documentation comment.
  • Unused Code Recognition
  • Error Correct Assistant
  • Smart Selection
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo