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.
[ BUILD # : 201110290600 ] [ JDK VERSION : 1.6.27 ] Currently, if a nonexistent class is referenced from a class in a test package, a hint is given in the editor to create a new class. 95% of the classes I create in this situation actually belong in Source Packages, and I manually move them after I create them. It would be great if either they were created in Source Packages by default, or there was a choice at generation-time.
Created attachment 117015 [details] "Create Class" hint shall also offer more options Hi, "Create Class" hint shall also offer more options: "Create Class" in [Source Packages]...package "Create Class" in [Test Packages]...package "Create Class" in [Nested Class]...current package Regards, Gilberto
Created attachment 156549 [details] Works for me
Works for me. See screenshot https://netbeans.org/bugzilla/attachment.cgi?id=156549 Product Version: NetBeans IDE 8.1 RC (Build 201510012201) Java: 1.7.0_80; Java HotSpot(TM) 64-Bit Server VM 24.80-b11 Runtime: Java(TM) SE Runtime Environment 1.7.0_80-b15 System: Windows 7 version 6.1 running on amd64; Cp1252; de_DE (nb) User directory: C:\Users\markiewb\AppData\Roaming\NetBeans\8.1rc Cache directory: C:\Users\markiewb\AppData\Local\NetBeans\Cache\8.1rc