Community
Participate
Working Groups
In the explorer or inspector when I copy and paste (a java class for instance) I am prompted for a new name. After I type the new name a new item is created. This item is not selected or opened. Often, I begin editing the old item thinking it is the 'clone'. I think it is more intuitive to select the newer item in the tree, and open it the editor.
Dani, is the copy/paste in the package explorer our default actions or provided by JDT? PW
This is the standard behavior in the OS and hence also in Eclipse (at least on Windows): don't change the current selection. Suggest to close as WONTFIX.
On a Mac, in the finder, when you do a copy and paste sequence, the new version is selected. This applies to both icon and list views.
>> This is the standard behavior in the OS and hence also in Eclipse 2 years later I still think this is the wrong behavior. On mac: In a list, a copy and paste always selects the copy. In windows: In a list, a copy and paste always selects the copy. In linux: In a list, a copy and paste always selects the copy. I now understand why I start editing the source instead of the copy so often.