Eclipse中的Hovers 配置解析
2015-10-12 14:30
477 查看
今天在对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 :显示当前选择声明的描述信息。
然后进入到 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 :显示当前选择声明的描述信息。
相关文章推荐
- Java从入门到精通07-排序
- 开启Eclipse 智能感知代码功能
- Java对象克隆问题
- 动画讲解 Eclipse 常用快捷键
- ROS知识(6)----基于Eclipse开发
- 反射机制
- spring aop中的propagation的7种配置的意思
- SpringMVC 源代码深度解析<context:component-scan>(扫描和注册的注解Bean)
- Spring+SpringMVC+mybatis+easyui整合实例(二)注解方式的mybatis的使用
- BaseService.java(Service业务层基类)
- Java工作记录
- java中线程的优先级
- Spring MVC: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]
- Spring+SpringMVC+mybatis+easyui整合实例(三)spring mvc整合及mybatis事务部分
- java(4)--集合类
- spring的初始化过程(以三个上下文关系为出发点)
- Android 系统源码导入 eclipse
- 配置Spring bean
- 用Java 8 Lambda表达式实现设计模式:命令模式
- 用Java 8 Lambda表达式实现设计模式:命令模式