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 have a directory with plain text config files that show up in my project tree. I needed to duplicate one file. Right click the file, select "Copy", right click the same folder it's in, select "Paste". I hear a beep and nothing happens. Expected result: a new file with some "foo copy" or similar name with the name selected, ready for me to change it to whatever I wanted. If copy and paste to duplicate a file is not supposed to work that way, it should perhaps be disabled altogether for those folders?
Created attachment 158947 [details] Screenshot showing how the file can be copied
Created attachment 158948 [details] Screenshot showing that paste is available
Chakie, Did you see https://netbeans.org/bugzilla/show_bug.cgi?id=250964#c1 ?
No. I didn't do any extensive search. I looked at the suggested possible duplicates and decided this was not a duplicate. In the Java version I use copy&paste all the time to duplicate files and it works as expected. A very handy way to create more source without resorting to a console or file damager.
Hi chakie, It seems you selected "Always Absolute" File Path Mode in Tools->options->C/C++->Priject Options. Please, try: - select "Always Relative" - reopen your project Does it resolve copy-paste problem?
It was set as "Always Relative". I had seen no need to ever touch it. Using "Always Absolute" gives the same error (or at least lack of copied file). I restarted a few times with different variations and still no copied file. Btw, on OSX the settings are in NetBeans->Preferences->...
fixed in enun, branch release82, changeset 2c717553f09f
Integrated into 'main-silver', will be available in build *201704110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/d44c5cb2176d User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #258466 Copy and paste for an aux file does not work (transplanted from 2c717553f09fd383b71d03894db62ef56be7eff4)
https://netbeans.org/bugzilla/show_bug.cgi?id=258466 Changesets: http://hg.netbeans.org/releases/rev/2c717553f09f # fixed Bug #258466 Copy and paste for an aux file does not work
Verified in NetBeans IDE 8.2 (Build 201704181436)