Eclipse跳至Ctrl-S上的函数名称 [英] Eclipse jumping to function name on Ctrl-S

查看:43
本文介绍了Eclipse跳至Ctrl-S上的函数名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我按Ctrl-S将我的Java文件保存在Eclipse中时,它跳转到函数名.这很烦人.有人知道该怎么办吗?

When I press Ctrl-S to save my Java file in Eclipse it's jumping to the function name. This is very annoying. Someone know what to do about this?

推荐答案

转到窗口->首选项->常规->键(您也可以在偏好设置"主窗口中搜索).您最有可能添加了一个绑定,当您按 ctrl + s 时,eclipse会跳转到函数名称.

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.

另一个值得一看的地方是Window-> Preferences-> Java-> Code Style-> Clean Up and Window-> Preferences-> Java-> Editor-> Save Actions.在此定义了所有操作,这些操作在保存/清理文档时发生.

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.

这篇关于Eclipse跳至Ctrl-S上的函数名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆