Netbeans has a keybinding which I'm missing in IDEA. The nb
keys are ^K and ^L. What they do is to find a word going back or forward in the text that matches the word one is currently typing.
So, the code
int anDouble = 0.;
int anInt = 0;
and hitting ^K at the | would fill in the word anInt. Hitting ^K a second time would complete with anDouble
and so on. ^L does the same but going forward in the text.
I have to believe the IDEA has this same action, but I haven't found it. Can anyone please provide a pointer?