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.
Prepare project: - Some folder contains source files bash-4.1$ ls src_Quote/src/ cpu.cc cpu.h customer.cc customer.h disk.cc disk.h memory.cc memory.h module.cc module.h quote.cc system.cc system.h - Create C/C++ Application project without main.cpp - Call context menu on "Source Files" folder and select "Add Existing Items from Folders..." menu item - Add 'src_Quote' folder ==> ok Scenario: - Select cpu.cc file and call Copy in context menu - Select src folder and call Paste in context menu ==> new file doesn't appear
Here is a decision tree for current Paste action implementation: FROM is always a disk folder (not logical) Copy FROM an TO are in the same project FROM is absolute || (FROM starts with .. && FROM is logical) do nothing else TO is a disk folder copy file copy configuration TO is a logical folder copy file to the FROM folder add to the logical folder TO copy configuration Different project TO is a disk folder copy file TO is logical TO and FROM has the same filesystem FROM path is absolute || starts with .. FROM path is absolute add item to the logical folder TO FROM path is relative compute the relative path add item to the logical folder TO else copy file add to logical folder TO
Integrated into 'main-silver', will be available in build *201508130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/2b84b1fa2eb6 User: Ilia Gromov <ilia@netbeans.org> Log: fixed Bug #250964 - IDE can't copy&paste file from external folder