Bug 20861 - enhanced copy and paste whilst in explorer [ccp] [code manipulation]
Summary: enhanced copy and paste whilst in explorer [ccp] [code manipulation]
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2002-06-23 07:58 EDT by Trevor Vaughan CLA
Modified: 2009-08-30 02:36 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Trevor Vaughan CLA 2002-06-23 07:58:10 EDT
This request is along the lines of the functionality exhibited in Excel.

In Excel one can copy a cell and then do a "paste special" so as to only paste 
certain attributes of the copied cell such as the value or the formatting or 
the formula.

Whilst in eclipse's Package Explorer view, I frequently want to copy just the 
names or signatures of several selected methods rather then the definition of 
the methods itself. I imagine the functionality being so...

- user makes multiple selections of methods in the Package Explorer view
- mouse right click when in the editor
- the current functionality is the display of "paste" which will 
  paste the selected method definitions into the editor
- the new functionality is an additional "paste special" in which clicking 
  this results in a pop-up window in which the user can select "name" or 
  "signature" or signiture with return type to respectively paste just the 
  names or the signature or signature with return type of the selected methods
  into the editor.

Regards

Trevor Vaughan
Comment 1 Erich Gamma CLA 2002-06-23 16:56:25 EDT
can you give a specific use case when you want to use paste special.
The use case that comes to mind is overridding a method but for this purpose 
there is already support.
Comment 2 Trevor Vaughan CLA 2002-06-24 03:39:41 EDT
The specific example I am thinking of is where the user is working with beans. 
There is often the case that the user wants to refer to several of the get or 
set methods of a bean in another class. It is very convenient to select the 
bean class in the Explorer view and to then select the required methods of the 
bean for pasting the method names into the target class. The user makes several 
selects then a single paste.

To achieve this using auto-completion is laborious when more than a couple of 
methods names are required.
Comment 3 Dirk Baeumer CLA 2002-07-30 06:18:20 EDT
For now no action planned for 2.1. PR is tagged as help wanted. Implementing 
this is a good thrid party opportunity.
Comment 4 Dirk Baeumer CLA 2003-04-28 06:02:34 EDT
Chaning state from assigned later to resolved later. Assigned later got 
introduced by the last bug conversion and is not a supported Eclipse bug state.
Comment 5 Eclipse Webmaster CLA 2009-08-30 02:36:25 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.