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 90539 - Duplicate option on File menu
Summary: Duplicate option on File menu
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 5.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: UI, USABILITY
Depends on:
Blocks:
 
Reported: 2006-12-04 19:47 UTC by whartung
Modified: 2008-12-22 10:39 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description whartung 2006-12-04 19:47:29 UTC
Simply, it would be nice on the file menu to duplicate a file in the file navigator.

Right now, I tend to simply select a file, Copy it, then Paste it.

The nit is that I can select the file I want to copy, but then I have to scroll up to the parent folder to 
paste it back in, the I have to scroll down to the file and rename it manually.

I think it would be nice to click on a file, select Duplicate, and then have the Rename box pop up so I 
could type in the new name.

Extra bonus points to have an option or button to automatically open the file in the editor after it's been 
created and renamed.

Particularly with JSP files and such, I do this alot (since I don't tend to jump through the hoop of 
creating a template, which I admit is an alternative, but not as organic as ye olde tried and trued "Copy/
Paste" methodology).
Comment 1 Peter Pis 2008-09-01 12:16:06 UTC
Reassigning to projects.
Comment 2 Milos Kleint 2008-10-14 14:09:18 UTC
no idea why this was assigned to projects -> datasystems
Comment 3 Jaroslav Tulach 2008-10-15 10:50:31 UTC
Write an extra module providing such extension, if you want. Call: 
http://bits.netbeans.org/dev/javadoc/org-openide-loaders/org/openide/loaders/SaveAsCapable.html
or obj.copy(...).rename(...)

The API is available, someone can provide the external module, and as such this issue is "wontfix" from 
openide.loaders.