Bug 117188 - RFE: A Class Trash Can!
Summary: RFE: A Class Trash Can!
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1.1   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 117191 117194 117196 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-19 12:20 EST by kappa CLA
Modified: 2005-11-22 09:05 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kappa CLA 2005-11-19 12:20:46 EST
heres the idea, sometimes i have a class file(s) in a java project that i no 
longer need but at the same time i don't want to delete it as i might need the 
code for reference or something later, so what you do is right click it and send 
it to trash, now it no longer interfers with your project no references can 
point to it and its out of the way. later if need be you can restore it or view 
it, what do you ppl think?

p.s. i know you can create another package but this is fidly and time consuming 
something quick and fast like this is what i need!
Comment 1 Olivier Thomann CLA 2005-11-19 14:42:27 EST
*** Bug 117191 has been marked as a duplicate of this bug. ***
Comment 2 Olivier Thomann CLA 2005-11-19 14:42:35 EST
*** Bug 117194 has been marked as a duplicate of this bug. ***
Comment 3 Olivier Thomann CLA 2005-11-19 14:42:40 EST
*** Bug 117196 has been marked as a duplicate of this bug. ***
Comment 4 Philipe Mulet CLA 2005-11-21 04:40:50 EST
You can simply exclude it from your buildpath, so it doesn't get in the way; then you can later restore it.
Comment 5 kappa CLA 2005-11-21 10:53:08 EST
was thinking more on the lines of a quick archiving thing, also if the file still remains in the same package adds to clutter and other classes can still link to it in the eclipse editor and can get a little cumbersome, especially if you wanna move lots of files
Comment 6 Philipe Mulet CLA 2005-11-22 06:13:50 EST
When excluded, a file no longer appears in the same package. Also the file is not physically moving, thus it will not appear as a true change for CVS. If the file is moved elsewhere, it could intefere with source control. Is this what you anticipated ?
Comment 7 kappa CLA 2005-11-22 09:04:00 EST
(In reply to comment #6)
yes, basically you are deleting the file, but keeping a copy archieved somewhere else, just in case you might need it again.
Comment 8 kappa CLA 2005-11-22 09:05:14 EST
maybe even just keeping it locally, while deleting it off the server.