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.

Bug 65160

Summary: [50cat] IDE has no 'save as' option
Product: platform Reporter: mcbofh <mcbofh>
Component: -- Other --Assignee: issues@platform <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description mcbofh 2005-09-27 07:17:43 UTC
[ BUILD # : 200509221800 ]
[ JDK VERSION : 1.5.0 ]

I had to change the name of one of my classes, so the IDE helpfully reminded me that the class should be in an appropriately-named file.

I was not unable to rename the file from the IDE because there is no option (at least, no by-default visible option) to 'save as' a new filename.

This is functionality which is present in just about every other IDE I can think of and I'm quite surprised that it doesn't appear to be there in netbeans.
Comment 1 Marian Mirilovic 2005-09-27 08:18:12 UTC

*** This issue has been marked as a duplicate of 20147 ***
Comment 2 R Ramos 2006-05-21 10:16:04 UTC
In this case you should use refactoring to rename the class. In this way class
na e, constructor and file name are changed properly