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.
This RFE asks for short-circuiting two steps *when they can be combined*. The scenario is creating a new Class in a new or existing package. When I have chosen "Source Packages" node in a Java Project and I want to create a class Foo in a package com.example, I should be able to: - Click on New Java Class (or Interface) - Specify the name as: "com.example.Foo" ... Currently, the IDE does not let me choose '.' in the class name field.
Adding Jano from UI team to cc list. We can split the Class Name when there is '.' to package name & simple name and automatically fill the package text field.
That sounds reasonable to me. Just note you need to check for cases like: - If the user modifies the value in the package text field, so the class name field and package field would not match. - If the user invokes the NFW on a package node (the package field is then filled in) and enters a different package into the class name field. Maybe some other cases.
*** This bug has been marked as a duplicate of bug 227877 ***