Issue Details (XML | Word | Printable)

Key: FDT-2651
Type: Improvement Improvement
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: FDT Team
Reporter: Panel
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

Refactor package when class file is copied into package

Created: 16/Mar/12 06:17 PM   Updated: 22/Jun/12 06:42 PM
Component/s: UI
Affects Version/s: 5.5 Beta
Fix Version/s: None
Security Level: public

Time Tracking:
Not Specified

Issue Links:

Review Type: Review by Product Owner

 Description  « Hide
While dragging files between packages refactoring works file, but when copy & paste class file, the package is not updated

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Philipp Arnolds added a comment - 22/Mar/12 02:39 PM
I'm not really sure if this is actually a bug, in this example it would be useful but I would not expect (and in some cases want) to let FDT modify files when copying it. I'll change that ticket to an improvement to check out by the project owner.

Panel added a comment - 22/Mar/12 06:30 PM
So simply let's give user a choice
'Leave package' or 'updated package to (package to witch file is copied)'

Alan K (Deprecated) added a comment - 03/May/12 05:06 PM - edited
I'm going to vote against this; however, if more customers vote on it we can reconsider.

Here is what is going on :

Copy and paste does exactly that - it copies a file, exactly, then creates a duplicate of it somewhere else. If we add a refactor step to it - then it's no longer copy / paste. Everyone knows what copy / paste is and expects that. We would be changing what people expect.

I propose a different option, currently we have 'Move...' and move Refacotring - which are similar to what is described in this ticket. We can just add a key binding to similar to "Move ..." called 'Paste and Refactor'.

So you:

1: 'Copy; file
2: Instead of 'Paste' you use 'Paste and Refactor"

How's that?

Alan K (Deprecated) added a comment - 03/May/12 05:14 PM
Closing this and opening another.