### NetBeans 8.0 is out!

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

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?

Posted by guest on March 25, 2014 at 10:55 AM CET #

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

Thanks.

Posted by Tomas Mysik on March 25, 2014 at 11:03 AM CET #

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

Posted by guest on March 25, 2014 at 09:52 PM CET #

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

Posted by Pies on March 25, 2014 at 09:53 PM CET #

To guest: I have the same problem :)

Posted by Tomas Mysik on March 26, 2014 at 07:14 AM CET #

• HTML Syntax: NOT allowed