PHPDevelopmentPlanNB74

Revision as of 13:07, 10 January 2013 by Obrejla (Talk | contribs)

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
P3 Hint to detect parent construct call If one overrides a parent constructor, one should call it. Otherwise objects can get to unpredictable states. DONE
P3 Generation of getters and setters for static fields http://netbeans.org/bugzilla/show_bug.cgi?id=156013 DONE
P3 Show relative path to project root in search results http://netbeans.org/bugzilla/show_bug.cgi?id=224107 DONE
P3 Hint to detect depth of nested blocks Too many nested blocks is a bad practise, one should extract a method instead. DONE
P3 Hint to detect eunreachable statements As is in Java. Code after some statements is never invoked (return, break, continue, throw, ...). DONE
P3 Hint to detect empty statements As is in Java. Just one semicolon is useless. DONE
P3 Hint to detect direct use od superglobal arrays Noone should access them directly, just through some filtering function. DONE
P3 Hint conditions should use brackets As is in Java. DONE
P3 Support for deprecated elements (strike-through element names) As is in Java (declarations, invocations, navigator, index). STARTED
P3 Make hints "caret sensitive" All hints should check if a "problem is on current line" because user can change Hint to Suggestion (by changing severity to WARNING_ON_CURRENT_LINE) - http://netbeans.org/bugzilla/show_bug.cgi?id=143677
P3 Hint to check whether current use of "@" is proper "At" sign suppresses warnings and errors and it's a bad practise to use it.
P3 Hint to check the number of line in a method (class, iface, trait?) declaration Users should use short methods. Should be configurable.
P3 Hint to check the closing PHP delimiter at the end of file It's useless there. It's just a source of lot of "Headers already sent" errors.
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.
P4 Improve sanitizetion 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 Improve handling of long strings When there is pressed ENTER key inside a string, then the string should be concatenated like in Java editor.

Refactoring

Priority Task Notes Status
P3 Add some new refactoring I.e. extract method, ...
P3 Rename refactoring improvement If renaming a class add a possibility to rename its declaration file as well. DONE
P3 Refactoring trees (elements visible in UI) http://netbeans.org/bugzilla/show_bug.cgi?id=219904 DONE

Twig

Priority Task Notes Status
P3 Toggle Comment Enable action.
P3 Braces matching As it works in Smarty. If-else statements and such should be highlighted.

Apache Conf

Priority Task Notes Status
P3 Toggle Comment Enable action. DONE

Neon

Priority Task Notes Status
P3 Toggle Comment Enable action. DONE

INI

Priority Task Notes Status
P3 Toggle Comment Enable action. DONE

Project

Priority Task Notes Status
P1 Regenerate PHP runtime signature files Provide new signature files for binary libraries.
P2 Support for more Testing frameworks Add TestingFrameworkProvider and implement it for PHPUnit.
P2 Composer improvements E.g. UI for searching.
P2 Evaluate remote FS Project development directly on the remote drive.
P3 Continuous results for PHPUnit Support for --printer parameter.
P3 Run Focused Test Allow user to run just focused test (as same as in Java).
P3 More Test roots Allow to have more Test roots. Likely not possible for Source roots (due to (S)FTP support - which Source root(s) should be downloaded/uploaded?)
P3 Phar Provide basic Phar support.
P3 Remote synchronization for directories.
P3 Includes/excludes for remote file transfer.
P4 UI for PHP turn on/off signature files Provide ui, which allows to exclude and add the signature files from include path.
P4 Signature files generator Create new and more maintainable signature files generator.

Frameworks

Priority Task Notes Status
P2 Improve existing support Try to improve existing support, especially the editor part. Huge changes/improvements in the PHP editor area are needed.
P2 ZF2 support Support Zend Framework 2.
P3 PhpDocumentor2 support? Evaluate PhpDocumentor2, currently, in Alpha version.
P4 CodeSniffer support Using code sniffer for reporting coding style issues.

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