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.
I would suggest renaming source file when main class is renamed(from editor or explorer). Since if the main class of a Java source is renamed, it will be invalid unless the source file is also renamed.
Agreed; but what would be more correct behaviour if the file can't be renamed ? Rename class but not file (and make the source uncompilable), or better cancel rename of the class too ?
I would say if the can't be renamed don't rename class too. But show the user some dialog with info why class can't be renamed.
Fixed [dev-22]
[1117] not implemented.
It is working in NetBeans; as it is a new feature (that may lead to some problems), it will *not* be present in F4j CE 2.0
*** Bug 5268 has been marked as a duplicate of this bug. ***
[dev-60] Verified [1135] Will not be presented.
Resolved for 3.4.x or earlier, no new info since then -> closing.