Revision as of 14:00, 17 June 2010 by Ppisl (Talk | contribs)

PHP in NB 6.9.Next

Version: draft 0.0.1


The NetBeans PHP support is popular and obtains many users. It's the support that attracts many new people that are switching from other IDEs. The features in the release NetBeans 6.9.Next will be mainly targeted to improve productivity of the IDE.


ID Priority Task Description Details Link
1.1 P2 Bracket matcher refactoring The current bracket matcher is based on the indentation of the source code. This doesn't work when the code is not indented according our rules. There are bugs that it will be solved by this.
1.2 P3 Code sniffer

Support checking coding standards.

Each configuration of a standard should be defined in separate configuration file. There should be possible to add its own coding standard whereas a few predefined standards(how to write PHP code) should be delivered with Netbeans PHP. These predefined configurations could be taken from PHP Code Sniffer(called: MySource, PEAR, PHPCS, Squiz and Zend), which seems to be de facto standards.
1.3 P3 Formating/Indentation improvements, stabilization In NB 6.9 there is a new formatter. There are some bugs mainly in formatting PHP inside HTML files. The same applies for indentation.
1.4 P3 Model stabilization, improvements Model is heavily used inside PHP editor and should prepared to be useful for framework support developers
  • document it
  • stabilize implementation
  • provide needed changes to support Cake PHP and other similar frameworks.
1.5 P3 Type Inference improvements (Framework support) Model API/impl. needs to be improved to be able to resolve types for supporting frameworks like Zend that adds properties to interfaces. Will improve quality of code completion, goto declaration, mark occurences, find usages ...
1.6 P3 Declarative Extension of Editor Features

Obviously editor cannot support all extensions for the PHP language, all frameworks

User should be able at least to extend:
  • code completion for individual contexts
  • add signatures for extensions
1.7 P3 Refactorings

Implements some refactoring that are missing

Deliver Rename Refactoring and other Refactorings like Extract to method ...
1.8 P3 PHP 5.3 support improvements

PHP 5.3 brought many features that were not fully supported in 6.8 and still are not supported in 6.9. Phar,namespace view (analogy of package view in java) should appear in PHP project plan, but also additional editor improvemnts

  • Improve mark occurences, goto declaration, find usages for cases when the same class/function/constant names from different namespaces are used inside one file
  • additional contexts for Code completion like the one for anonymous/closures functions
1.9 P3 Provide Hierarchic


ID Priority Task Description Details Link
2.1 P2 Generating PHP Doc This is one of the missing features that could be coverd in the release. Generate PHP documentation from PHP comments in the source files. It's similar to the generating JavaDoc for java source files. The PHP support will use the PHP documentation generater available in the PHP runtime.

PHP Frameworks

ID Priority Task Description Details Link
3.1 P3 CakePHP framework support One of the most used PHP framework these days should have the similar support as Symfony or Zend Framework have in NB 6.9. BZ, 158 votes
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