PHPNB69

(Difference between revisions)
(PHP Editor)
(PHP Editor)
Line 28: Line 28:
* make configurable behavior (see [[#config_standards|Configuration for coding standards]]) of: hints && fixes, templates, code generators  
* make configurable behavior (see [[#config_standards|Configuration for coding standards]]) of: hints && fixes, templates, code generators  
* add additional individual hints checking code style or include PHP Code Sniffer integration
* add additional individual hints checking code style or include PHP Code Sniffer integration
 +
|
 +
|-
 +
| <span id="editing_files_outside_project">'''2.0 [P3] Code Completion for files not included into any PHP project'''</span>
 +
Code completion for individual files(not included in any project) is often required
 +
|Implementation based on model to propose items just from the current file should be relatively easy(optional could be considered virtual project for current folder)
 +
|
 +
|-
 +
| <span id="type_inference">'''3.0 [P3] Type Inference improvements (arrays, fields)'''</span>
 +
Type inference based on model needs improvements for arrays and fields
 +
| Model API/impl. needs to be improved to be able to resolve types for arrays and fields. Will improve quality of code completion, goto declaration, mark occurences, find usages (and refactorings later)
 +
|
 +
|-
 +
| <span id="model_stabilization">'''4.0 [P3] Model stabilization, expose as API'''</span>
 +
Model is heavily used inside PHP editor and needs to be polished and open it as API for other modules(meaning especially PHP project and its support for frameworks)
 +
|
 +
* document it
 +
* expose as API to be able to use it also outside of PHP editor
 +
* stabilize implementation
 +
|
 +
|-
 +
| <span id="php_53">'''5.0 [P3] PHP 5.3 support improvements'''</span>
 +
PHP 5.3 brought many features that were not fully supported in 6.8. 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
|
|
|}
|}

Revision as of 14:15, 30 November 2009

PHP tasks for NetBeans 6.9

This document contains a list of task, which are needed to improve PHP support in NetBeans 6.9.

Contents


PHP Editor

ID [Priority] Task Description Details Link
1.0 [P2] Configuration for coding standards

Support for configurable coding standards. If we want to spread NetBeans into corporate sphere,then the codding style has to be configurable not to block Continuous Integration

Each configuration 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.1 [P2] Formating/Indentation improvements

Formating/Indentation subject of complaints

make it configurable(see Configuration for coding standards) and Formating/Indentation both should adhere to same formatting rules.

1.2 [P3] Code generation improvements

Support for configurable coding standards should affect all parts of NB PHP editor that somehow modifies/generates code.

  • make configurable behavior (see Configuration for coding standards) of: hints && fixes, templates, code generators
  • add additional individual hints checking code style or include PHP Code Sniffer integration
2.0 [P3] Code Completion for files not included into any PHP project

Code completion for individual files(not included in any project) is often required

Implementation based on model to propose items just from the current file should be relatively easy(optional could be considered virtual project for current folder)
3.0 [P3] Type Inference improvements (arrays, fields)

Type inference based on model needs improvements for arrays and fields

Model API/impl. needs to be improved to be able to resolve types for arrays and fields. Will improve quality of code completion, goto declaration, mark occurences, find usages (and refactorings later)
4.0 [P3] Model stabilization, expose as API

Model is heavily used inside PHP editor and needs to be polished and open it as API for other modules(meaning especially PHP project and its support for frameworks)

  • document it
  • expose as API to be able to use it also outside of PHP editor
  • stabilize implementation
5.0 [P3] PHP 5.3 support improvements

PHP 5.3 brought many features that were not fully supported in 6.8. 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

PHP Frameworks

Priority Task Description Link
P1 Zend framework support, one of the most used PHP framework these days. BZ, 108 votes
P1 CakePHP framework support, one of the most used PHP framework these days. BZ, 135 votes
P1 Major editor improvements, mainly code completion (complete variables passed from controllers to views).

PHP Debugger

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