简体   繁体   中英

Eclipse refactoring methods (specifically extract method) have stopped working

I have been using eclipse indigo happily for android development for a while. In the last few days it has stopped refactoring. I have tried a project clean and of course restarting eclipse.

I have also tried renaming the org.eclipse.core.resources directory as suggested here: -

http://letsgetdugg.com/2009/04/19/recovering-a-corrupt-eclipse-workspace/

Any ideas what I could do? Thanks!

I get this occasionally. It usually happens when you install (or update) and plugin and that plugin has a key binding the same as alt-shift-m (or cmd-alt-m on OSX). You need to go into your eclipse preferences and change the key bindings.

Under preferences go to General -> Keys. Then search for the shortcut in the bindings field. You will need to delete the binding and add your preferred one back in.

It has now randomly started working again. If I find the reason I'll post it here for googlers!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM