IntelliJ:如何在Eclipse中自动突出显示变量 [英] IntelliJ: How to auto-highlight variables like in Eclipse

查看:151
本文介绍了IntelliJ:如何在Eclipse中自动突出显示变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的雇主希望我使用IntelliJ进行Java开发。以前,我一直使用eclipse。

My employer wants me to use IntelliJ for Java development. Previously, I've always used eclipse.

我最喜欢的eclipse功能之一就是能够点击变量,方法参数,类字段等,然后看看使用在整个班级中突出显示的那些变量。

One of my favorite features in eclipse was being able to click on a variable, method parameter, class field, etc and see the usage of those variables highlighted throughout the class.

有没有办法在IntelliJ IDEA中启用此功能?我正在使用Ultimate版本9.0.3。

Is there a way to enable this feature in IntelliJ IDEA? I'm using Ultimate version 9.0.3.

推荐答案

文件 | 设置(Mac上的偏好设置)| 编辑 | 一般 | 突出显示插入符号元素的用法

File | Settings (Preferences on Mac) | Editor | General | Highlight usages of element at caret.

这篇关于IntelliJ:如何在Eclipse中自动突出显示变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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