PHPDevelopmentPlanNB80

(Difference between revisions)
(Editor)
(PHPDocumentator 2.2 was released a few days ago and is not in beta anymore)
 
(19 intermediate revisions not shown)
Line 30: Line 30:
| Hints for PSR-0 and PSR-1 standards
| Hints for PSR-0 and PSR-1 standards
| http://www.php-fig.org/
| http://www.php-fig.org/
-
| STARTED
+
| '''DONE'''
 +
|-
 +
| P3
 +
| Enable external documentation button in CC window
 +
| After changes in CSL
 +
| '''DONE'''
 +
|-
 +
| P3
 +
| Add init field suggestion
 +
| For unused constructor parameters.
 +
| '''DONE'''
 +
|-
 +
| 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.
 +
| '''DONE'''
 +
|-
 +
| P3
 +
| Hint to check wrong param names
 +
| It would be useful to check whether the @param var name is the same as the name used in function/method declaration.
 +
| '''DONE'''
|-
|-
| P3
| P3
Line 46: Line 66:
| 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.
| 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
 
-
| '''DONE'''
 
-
|-
 
-
| P3
 
-
| Add init field suggestion
 
-
| For unused constructor parameters.
 
-
| '''DONE'''
 
|-
|-
| P3
| P3
Line 119: Line 124:
| Enable external documentation button in CC window
| Enable external documentation button in CC window
| After changes in CSL.
| After changes in CSL.
 +
| '''DONE'''
 +
|-
 +
| P3
 +
| Add hints
 +
| E.g. control vs widget.
 +
| '''DONE'''
 +
|-
 +
| P3
 +
| Add completion for declared controls in corresponding Presenter
 +
| Check createComponent... methods.
| '''DONE'''
| '''DONE'''
|-  
|-  
Line 129: Line 144:
| Braces matching
| Braces matching
| Paired macros.
| Paired macros.
-
|
 
-
|-
 
-
| P3
 
-
| Add hints
 
-
| E.g. control vs widget.
 
|  
|  
|}
|}
Line 160: Line 170:
| Code completion of class methods
| Code completion of class methods
| Now just classes (types) are supported.
| Now just classes (types) are supported.
-
|  
+
| '''DONE'''
|-  
|-  
| P3
| P3
Line 178: Line 188:
| Regenerate PHP runtime signature files
| Regenerate PHP runtime signature files
| Provide new signature files for binary libraries.
| Provide new signature files for binary libraries.
-
|
+
| '''DONE'''
|-  
|-  
| P2
| P2
Line 185: Line 195:
| '''DONE'''
| '''DONE'''
|-  
|-  
-
| P3
+
| P2
| More Test roots
| More Test roots
| Allow to have more Test roots. https://netbeans.org/bugzilla/show_bug.cgi?id=201654
| Allow to have more Test roots. https://netbeans.org/bugzilla/show_bug.cgi?id=201654
-
|
+
| '''DONE'''
|-
|-
| P3
| P3
| Remote synchronization for directories.
| Remote synchronization for directories.
| https://netbeans.org/bugzilla/show_bug.cgi?id=214497
| https://netbeans.org/bugzilla/show_bug.cgi?id=214497
-
|
+
| '''DONE'''
|-
|-
| P3
| P3
Line 225: Line 235:
| P2
| P2
| Static code analysis
| Static code analysis
-
| Add support for more tools (Copy/Paste Detector, PHP-CS Fixer, ...)
+
| Add support for more tools (PHP-CS Fixer, ...)
-
|
+
| '''DONE'''
|-  
|-  
| P2
| P2
Line 240: Line 250:
| P3
| P3
| PhpDocumentor2 support?
| PhpDocumentor2 support?
-
| Evaluate PhpDocumentor2, currently, in Beta version.
+
| Evaluate PhpDocumentor2.
|
|
|}
|}
Line 251: Line 261:
!Status
!Status
|-
|-
-
| P2
+
| P1
| Zend Debugger support
| Zend Debugger support
-
| issue #[http://netbeans.org/bugzilla/show_bug.cgi?id=168275 168275] (49 votes)
+
| issue #[http://netbeans.org/bugzilla/show_bug.cgi?id=168275 168275] (50 votes)
 +
|
 +
|}
 +
 
 +
==Other==
 +
{| border=1 class="simple"
 +
!Priority
 +
!Task
 +
!Notes
 +
!Status
 +
|-
 +
| P2
 +
| PHP Samples
 +
| Add PHP sample for Symfony2, ZF2 and Nette frameworks.
|
|
|}
|}

Current revision as of 05:56, 21 December 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
P1 Support for PHP 5.5 finally(), etc. DONE
P2 Hints for PSR-0 and PSR-1 standards http://www.php-fig.org/ DONE
P3 Enable external documentation button in CC window After changes in CSL DONE
P3 Add init field suggestion For unused constructor parameters. DONE
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. DONE
P3 Hint to check wrong param names It would be useful to check whether the @param var name is the same as the name used in function/method declaration. DONE
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 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. DONE
P3 Reindenting of Twig files https://netbeans.org/bugzilla/show_bug.cgi?id=230506

Latte

Priority Task Notes Status
P3 Enable external documentation button in CC window After changes in CSL. DONE
P3 Add hints E.g. control vs widget. DONE
P3 Add completion for declared controls in corresponding Presenter Check createComponent... methods. DONE
P3 Add documentation to n:tags In latte templates.
P3 Braces matching Paired macros.

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. DONE
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. DONE
P2 Create new project wizard should support Composer User selects packages from UI and project is created with these packages. DONE
P2 More Test roots Allow to have more Test roots. https://netbeans.org/bugzilla/show_bug.cgi?id=201654 DONE
P3 Remote synchronization for directories. https://netbeans.org/bugzilla/show_bug.cgi?id=214497 DONE
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 (PHP-CS Fixer, ...) DONE
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.

Debugger

Priority Task Notes Status
P1 Zend Debugger support issue #168275 (50 votes)

Other

Priority Task Notes Status
P2 PHP Samples Add PHP sample for Symfony2, ZF2 and Nette frameworks.
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