Community
Participate
Working Groups
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
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.
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.
For now no action planned for 2.1. PR is tagged as help wanted. Implementing this is a good thrid party opportunity.
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.
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.