PHPDevelopmentPlanNB80

(Difference between revisions)
(Project)
(PHP Development Plan for NetBeans 8.0)
Line 13: Line 13:
This document is a collection of ideas that should be done in NetBeans PHP support area during NetBeans 8.0 time frame. Probably not every feature, item will be done, but it's mentioned to track it for next releases.
This document is a collection of ideas that should be done in NetBeans PHP support area during NetBeans 8.0 time frame. Probably not every feature, item will be done, but it's mentioned to track it for next releases.
 +
 +
==Editor==
 +
 +
{| border=1 class="simple"
 +
!Priority
 +
!Task
 +
!Notes
 +
!Status
 +
|-
 +
| P2
 +
| Support for PHP 5.5
 +
| finally(), etc.
 +
| '''DONE'''
 +
|-
 +
| P2
 +
| Hints for PSR-0 and PSR-1 standards
 +
| http://www.php-fig.org/
 +
| STARTED
 +
|-
 +
| P3
 +
| Improve formatting options to have some "predefined" (standard - e.g. PSR-2, Nette, Zend, ...) values
 +
| http://www.php-fig.org/
 +
|
 +
|-
 +
| P3
 +
| Refactoring of "types" handling.
 +
| Add some abstraction, just strings are used everywhere. It's very uncomfortable.
 +
|
 +
|-
 +
| P3
 +
| Use new Type Hierarchy window
 +
| In NB 7.3, new Type Hierarchy window has been added. Use it for PHP as well, likely cooperation with the Editor team will be needed.
 +
|
 +
|-
 +
| P3
 +
| Hint to check the number of return statements in a function declaration
 +
| It's a good practise to don't have too much places where "return" is used. Should be configurable. Mostly a code with just one return statement is more readable. It forces users to write as short methods as it's possible.
 +
|
 +
|-
 +
| P3
 +
| Enable external documentation button in CC window
 +
| After changes in CSL
 +
|
 +
|-
 +
| P3
 +
| Hint to check the return type of overridden method
 +
| If parent something returns, child must return something as well.
 +
|
 +
|-
 +
| P4
 +
| Improve sanitization of the code
 +
| Many ide features are based on the parser result (AST tree). Unfortunately the code in editor is the bulk of time broken, and the AST can not be build around the parser error. There is already used way to sanitized the code (correct virtually the code) that provides better ASTs. There can be added other cases to improve it.
 +
|
 +
|-
 +
| P4
 +
| Try to rewrite index to support camel case CC and search via wildcards (regexps)
 +
| It could remove the need of filtering which is applied almost after index touch (at least a bit)
 +
|
 +
|}
 +
 +
==Refactoring==
 +
{| border=1 class="simple"
 +
!Priority
 +
!Task
 +
!Notes
 +
!Status
 +
|-
 +
| P3
 +
| Add some new refactoring
 +
| I.e. extract method, ...
 +
|
 +
|}
 +
 +
==Twig==
 +
{| border=1 class="simple"
 +
!Priority
 +
!Task
 +
!Notes
 +
!Status
 +
|-
 +
| P3
 +
| Enable external documentation button in CC window
 +
| After changes in CSL.
 +
|
 +
|}
 +
 +
==Latte==
 +
{| border=1 class="simple"
 +
!Priority
 +
!Task
 +
!Notes
 +
!Status
 +
|-
 +
| P3
 +
| Enable external documentation button in CC window
 +
| After changes in CSL.
 +
|
 +
|-
 +
| P3
 +
| Add documentation to n:tags
 +
| In latte templates.
 +
|
 +
|-
 +
| P3
 +
| Braces matching
 +
| Paired macros.
 +
|
 +
|-
 +
| P3
 +
| Add hints
 +
| E.g. control vs winget.
 +
|
 +
|}
 +
 +
==Nette==
 +
{| border=1 class="simple"
 +
!Priority
 +
!Task
 +
!Notes
 +
!Status
 +
|-
 +
| P3
 +
| Generate inject methods
 +
| Maybe somehow cooperate with neon.config and services.
 +
|
 +
|}
 +
 +
==Neon==
 +
{| border=1 class="simple"
 +
!Priority
 +
!Task
 +
!Notes
 +
!Status
 +
|-
 +
| P3
 +
| Code completion of class methods
 +
| Now just classes (types) are supported.
 +
|
 +
|-
 +
| P3
 +
| Code completion contexts
 +
| To don't offer everything everywhere.
 +
|
 +
|}
==Project==
==Project==
Line 87: Line 231:
| PhpDocumentor2 support?
| PhpDocumentor2 support?
| Evaluate PhpDocumentor2, currently, in Beta version.
| Evaluate PhpDocumentor2, currently, in Beta version.
 +
|
 +
|}
 +
 +
==Debugger==
 +
{| border=1 class="simple"
 +
!Priority
 +
!Task
 +
!Notes
 +
!Status
 +
|-
 +
| P2
 +
| Zend Debugger support
 +
| issue #[http://netbeans.org/bugzilla/show_bug.cgi?id=168275 168275] (49 votes)
|
|
|}
|}

Revision as of 09:46, 10 September 2013

Contents


PHP Development Plan for NetBeans 8.0

Version: 0.1 - draft

Disclaimer: The content of this NetBeans development wiki page is intended for pre-planning purposes ONLY. The development, release, and timing of any feature or functionality described here should not be treated as final, and is subject to change at any time at the sole discretion of Oracle. For information about NetBeans software releases please visit the NetBeans Roadmap or the NetBeans Release Planning wiki.

This document is a collection of ideas that should be done in NetBeans PHP support area during NetBeans 8.0 time frame. Probably not every feature, item will be done, but it's mentioned to track it for next releases.

Editor

Priority Task Notes Status
P2 Support for PHP 5.5 finally(), etc. DONE
P2 Hints for PSR-0 and PSR-1 standards http://www.php-fig.org/ STARTED
P3 Improve formatting options to have some "predefined" (standard - e.g. PSR-2, Nette, Zend, ...) values http://www.php-fig.org/
P3 Refactoring of "types" handling. Add some abstraction, just strings are used everywhere. It's very uncomfortable.
P3 Use new Type Hierarchy window In NB 7.3, new Type Hierarchy window has been added. Use it for PHP as well, likely cooperation with the Editor team will be needed.
P3 Hint to check the number of return statements in a function declaration It's a good practise to don't have too much places where "return" is used. Should be configurable. Mostly a code with just one return statement is more readable. It forces users to write as short methods as it's possible.
P3 Enable external documentation button in CC window After changes in CSL
P3 Hint to check the return type of overridden method If parent something returns, child must return something as well.
P4 Improve sanitization of the code Many ide features are based on the parser result (AST tree). Unfortunately the code in editor is the bulk of time broken, and the AST can not be build around the parser error. There is already used way to sanitized the code (correct virtually the code) that provides better ASTs. There can be added other cases to improve it.
P4 Try to rewrite index to support camel case CC and search via wildcards (regexps) It could remove the need of filtering which is applied almost after index touch (at least a bit)

Refactoring

Priority Task Notes Status
P3 Add some new refactoring I.e. extract method, ...

Twig

Priority Task Notes Status
P3 Enable external documentation button in CC window After changes in CSL.

Latte

Priority Task Notes Status
P3 Enable external documentation button in CC window After changes in CSL.
P3 Add documentation to n:tags In latte templates.
P3 Braces matching Paired macros.
P3 Add hints E.g. control vs winget.

Nette

Priority Task Notes Status
P3 Generate inject methods Maybe somehow cooperate with neon.config and services.

Neon

Priority Task Notes Status
P3 Code completion of class methods Now just classes (types) are supported.
P3 Code completion contexts To don't offer everything everywhere.

Project

Priority Task Notes Status
P1 Regenerate PHP runtime signature files Provide new signature files for binary libraries.
P2 Create new project wizard should support Composer User selects packages from UI and project is created with these packages. DONE
P3 More Test roots Allow to have more Test roots. https://netbeans.org/bugzilla/show_bug.cgi?id=201654
P3 Remote synchronization for directories. https://netbeans.org/bugzilla/show_bug.cgi?id=214497
P3 Includes/excludes for remote file transfer. https://netbeans.org/bugzilla/show_bug.cgi?id=168811
P3 Private Include Path For project, private Include Path should be allowed to be set. https://netbeans.org/bugzilla/show_bug.cgi?id=231523 DONE
P3 Use SSH agent For SFTP, running SSH agent could be used to avoid providing password. DONE
P3 Phar Provide basic Phar support.

Frameworks & Tools

Priority Task Notes Status
P2 Static code analysis Add support for more tools (Copy/Paste Detector, PHP-CS Fixer, ...)
P2 Nette Tester Add support for Nette Tester https://netbeans.org/bugzilla/show_bug.cgi?id=228679. DONE
P3 Static code analysis Support for per project settings. https://netbeans.org/bugzilla/show_bug.cgi?id=230224
P3 PhpDocumentor2 support? Evaluate PhpDocumentor2, currently, in Beta version.

Debugger

Priority Task Notes Status
P2 Zend Debugger support issue #168275 (49 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