IntelliJ导航到下一个和上一个突出显示的变量 [英] IntelliJ navigate to next and previous highlighted variable

查看:173
本文介绍了IntelliJ导航到下一个和上一个突出显示的变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在IntelliJ 10.5中,我启用了突出显示插入元素的用法。当选择变量/ method / etc时,有没有办法移动到下一个和上一个出现的?我正在寻找相当于 Eclipse中的Control-K

In IntelliJ 10.5 I have "Highlight usages of element at caret" enabled. When a variable/method/etc is selected, is there a way to move to the next and previous occurrence? I'm looking for the equivalent of Control-K in Eclipse.

修改在突出显示的用法之间导航的快捷方式只是移动到下一个 text 出现,这与移动到下一次出现的变量/ method / etc不同。如果我选择了变量 foo ,我想导航到下一个出现的 foo 而不是任何一段文字称为foo(包括评论中的foo,方法名称等)。

Edit: Shortcut to navigate between highlighted usages simply moves to the next text occurrence, which is different than moving to the next occurrence of the variable/method/etc. If I have the variable foo selected, I want to navigate to the next occurrence of foo and not any piece of text called "foo" (including "foo" in comments, method names, etc).

此外,按 F3 似乎是错误的。当我按 F3 时,它有时会使用以前搜索过的文本进行搜索,当前突出显示的文本。

Also, pressing F3 seems to be buggy. When I press F3, it sometimes searches using the previous searched text and not the currently highlighted text.

推荐答案

目前无法实现,请参阅我的问题:快捷方式在突出显示的用法之间导航

It's not currently possible, see my question: Shortcut to navigate between highlighted usages.

我甚至创建了一个问题 IDEA-70523 解决这个问题,如果你不能像我一样生活,请投票支持: - )。

I even created an issue IDEA-70523 addressing this feature, please vote for it if you can't live without it like me :-).

这篇关于IntelliJ导航到下一个和上一个突出显示的变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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