Eclipse中的Hovers 配置解析

今天在对Eclipse做调试发现,用鼠标点击变量没有显示变量的值,然后一查才知道原来在Hovers配置中没有勾选Variable Values这个选项
然后进入到 Window->Preferences->Java->Editor->Hovers 将[Variable Values]选择即可。
那么Hovers这个配置最近是用来做什么的呢 通过查阅Eclipse官网上的文章我们可以知道
Hovers主要是来用配置当鼠标移动到工程中的某一项目上时 所需要展示的信息。通过Hovers配置实现一些功能的快捷方式。
主要包括以下几个属性的配置:
Combined Hover - Tries the hover in the sequence listed in the table and uses the one which fits best for the selected element and the current context.
Combined Hover:根据当前上下文以及选择的元素 进行自适应匹配展示。
Variable Values  - Shows the value of the selected variable while debugging.
Variable Values :Debug模式下展示当前选择变量的内容
Documentation - Shows the documentation of the selected element.
Documentation:显示当前选择元素的文档信息
Problem Description - Shows the description of the selected problem.
Problem Description:显示当前问题(错误)的描述信息
Source - Shows the source of the selected element.
Source:显示当前选择元素的源码。
Annotation Description - Shows the description of the selected annotation.
Annotation Description :显示当前选择声明的描述信息。
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值