Wednesday, 6 July 2011

How to duplicate a file in Eclipse

To duplicate a file in Eclipse use the Package view and drag the file into the package it is already in. Eclipse will prompt with a name conflict dialog. Use this to enter the name the duplicated file should have.


Tested with Helios with *.xml and *.java files.