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.
Product Version = NetBeans IDE Dev (Build 201003290201) Operating System = Linux version 2.6.32-17-generic running on i386 Java; VM; Vendor = 1.6.0_18 Runtime = Java HotSpot(TM) Client VM 16.0-b13 When you rename a class, the filename needs to be renamed as well, and vice-versa. Rename a file, rename a class.
Yeah, we should do this at least when there is a 1-1 match with the file name and the class in it; of course a file may contain multiple top level classes and classes whose names have nothing in common with the file name. When refactoring file names, we'd then also need to refactor require statements.
Agreed. (I hadn't even thought of require statements). Require statements brings in another possibility that needs to be verified with path renaming.