This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hi, I don't if it's a bug or implementation choice but, every I'm using "create class X in package aaa.bbb" the newly created class has no modifier, it is package visible. Is it possible to make the class public by default, or better, give user the choice ? Example : public interface A { B createB(); //B doesn't exist yet. } The IDE tells me that B doesn't exists. So I'm using alt+enter, and choose "create class B in package..." then the IDE "redirects" to B after its creation. This class is as follow : package foo.bar; class B { } I would like at least to see this : [public] class B { }
OK, the result will be consistent with the (default) class template which also creates public classes. Fixed in jet-main#d84abb819555
Integrated into 'main-silver', will be available in build *201608110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/d84abb819555 User: Svata Dedic <sdedic@netbeans.org> Log: #253018: modifiers of toplevel classes made consistent with default template
Integrated into 'main-silver', will be available in build *201611250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/bf9295593921 User: Svata Dedic <sdedic@netbeans.org> Log: #253018: corrected tests