When I press ctrl-s to save my java file in Eclipse its jumping to the function name, this is very annoying. Someone know what to do about this?
+1
A:
Try looking at your keyboard bindings. I certainly don't have this problem on either of my Eclipse installs. You might have Ctrl-S assigned to two different actions?
Paul Wagland
2010-01-25 10:13:29
+4
A:
Go to Window->Preferences->General->Keys (you can also search for Keys
in the main Preferences window). You most likely have added a binding which makes eclipse jump to the function name when you press ctrl
+s
.
Another place to look is Window->Preferences->Java->Code Style->Clean Up and Window->Preferences->Java->Editor->Save Actions. That is where all actions are defined which happen when you save/clean up a document.
laura
2010-01-25 10:15:13