Description:

Gives you one-stroke way to navigate to next/previous identifier occurrence.
Use Shift+Alt+Up and Shift+Alt+Down (or assign your own shortcuts in Keymap) to navigate up and down to each identifier occurrence.
Make sure that these shortcuts are not mapped to e.g. "Move Line Up" and "Move Line Down" in Keymap.
Can be used with or without "Highlight usages of element at caret" enabled.
Source available at
http://github.com/olegych/ih-reloaded.

Recent change notes:

Recompile with java 6.

General usage instructions:

The plugin adds two actions \"Next Identifier\" bound to \"shift alt DOWN\" and \"Previous Identifier\" bound to \"shift alt UP\".Please be aware that those mappings are by default mapped to \"Move line\" actions, so you will need to modify your settings in Keymap section.

Comments:

Sorry for the trouble. Looks like repository is confused because i uploaded same version two times. The currently uploaded build should work with JDK 6, but if you installed the plugin between 2013-04-07 21:35:41 and 2013-04-09 01:54:24 you may need to delete plugin and install it again.

I'm not sure what I'm doing wrong, but despite the above notes ("Recent change notes: Recompile with java 6.") the major class version of the downloaded plugin classes is still 51 (produced by JDK 7). This is a problem for all Mac users, because Jetbrains still doesn't support running IntelliJ with java 7 on Mac. Fortunately, it was quite easy to recompile the plugin from sources using JDK 6. Anyway, thanks for this great plugin! It's a shame IJ cannot do something like this out of the box...

Usually, things are highlighted in green when your caret is upon them, and as soon as you move your caret away the highlight disappears. This is ideal.

But this is not how the "Highlight Usages in File" command works. It keeps the highlight around until you explicitly clear it (or, in the case of your plugin, until the next time you execute the next/prev action).

It'd be nice if it could jump to the next highlight without having to use the Find Usages function. But since I'm not familiar with the plugin API I have no idea whether this is even possible.

Thanks, ntraft.I'm not 100% sure what you mean saying "if the highlight color didn't change and then stay highlighted until cleared".Is it just the color of highlighting that bothers you? Or do you want to be able to navigate between different identifiers, like if you do "Highlight Usages" several times and then use "Next/Prev" ?

Perfect timing!! I just switched to IDEA a few days ago and this is the ONE Eclipse feature I have been sorely missing! I bound it to Ctrl+Period and Ctrl+Comma, as in Eclipse.

The only downside I would mention is that this is really just a one-key shortcut for: Clear Highlights + Highlight Usages + Next/Prev Highlight. It would be really nice if the highlight color didn't change and then stay highlighted until cleared, as it does with Highlight Usages.