Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to copy method with ADT 2.77

PH
Participant
0 Kudos

Hello,

is it possible to copy a method with ADT 2.77? I didn't yet find a context menu entry, which is able to do this.

When I right-click on a method in the project explorer, there are two entries called "Copy" in the context menu. For both, nothing happens, when I click on them. Even, if I have clicked on them and then mark the class and choose "Paste" from the context menu, nothing happens.

I am looking for a feature like SE80, right-click on a method in a class and say "Copy..."

Best regards,

Philipp Hinnah

2 REPLIES 2

pokrakam
Active Contributor
0 Kudos

I've wondered about the difference between 'Copy' and 'Copy' menu items before. One seems to copy the entire class and the other the component, although the second option doesn't work.

Personally I haven't missed the feature. I copy and paste the method body and either use quick fix to generate the definition or copy and paste that too. Takes a few seconds and for the amount of times I have to do it, I don't really miss a one-step feature.

0 Kudos

Hi MIke,

sure, copying the source code is an option 😉

Thanks for feedback!