An Oracle blog about NetBeans for PHP

NetBeans 8.0 is out!

Hi all, let me inform you that NetBeans 8.0 is out! Enjoy it!

NetBeans 8.0 final

Join the discussion

Comments ( 5 )
  • guest Tuesday, March 25, 2014

    I think there is a problem when generating JavaDoc comments and fixing imports if I have aliased classes. For example, I have a class:

    namespace foo\bar;

    use baz\SomeClass as SomeClassAlias;

    class Test {

    public function getSomething(SomeClassAlias $someClass) {



    Now, when I generate a method comment (by writing /** before it and pressing Enter) it generates


    * @param \baz\SomeClass $someClass


    Then, when I press ctrl+shift+I to fix uses it changes it into:


    * @param SomeClass $someClass


    and changes my use statements to:

    use baz\SomeClass;

    use baz\SomeClass as SomeClassAlias;

    I.e. instead of using my alias, it uses the original class name and adds an extra use statement, which is very annoying and potentially dangerous. Any tips?

  • Tomas Mysik Tuesday, March 25, 2014

    To guest: Please, for reporting issues use NB Bugzilla (link is in the blog post), not this blog.


  • guest Tuesday, March 25, 2014

    Where should I report the problem with this blog not saving my nick? :) I'll do that, thanks.

  • Pies Tuesday, March 25, 2014

    I think the problem is with the "Preview" functionality.

  • Tomas Mysik Wednesday, March 26, 2014

    To guest: I have the same problem :)

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.