NetBeans 8.0 is out!

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

NetBeans 8.0 final

Comments:

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 #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This blogs is written by NetBeans developers who contribute to the PHP support mainly.

Search

Archives
« August 2015
SunMonTueWedThuFriSat
      
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
     
Today