Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IntelliJ IDEA arrow navigation does not work with numeric keypad arrow keys

 
roger dunn
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A co-worker of mine told me how great IntelliJ IDEA was for Java. Today I downloaded an eval of it and started playing around with it.
For eons (like more than 20 years) I've navigated up-down-left-right using the arrow keys on numeric keypad and not the funky arrow keys. I can do this without looking at the keyboard.

Anyway, the editor / keymap in IDEA does nothing if I press the numeric keypad arrow keys. It works fine on every other editor on the planet. I tried fiddling with the keymap settings but no keymap works.
What's up with that ?

Kind of a show stopper for me as I have to stop in my tracks to get the cursor to move.
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is your NumLock active?
 
roger dunn
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gregg Bolinger wrote:Is your NumLock active?


No. That would be too obvious, it would have inserted an '8' (arrow up) or a '4' (arrow left) into the editor.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18218
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wouldn't be surprised to find that the numeric pad has predefined command functions. I'm out of practice with IntelliJ, but I'm pretty certain that at least the keypad text keys (+, /, *, . and so forth) were bound to things like expanding and collapsing items. Although with actions as blatant as that, I would expect that you would have noticed that the number keys were doing strange things.

You should be able to redefine these keys if you like. I think there's even a set of "compatibility maps" you can choose from.
 
roger dunn
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've found this does not happen on Windows. I do Java coding in both Windows and Linux (have been mostly using Eclipse) and the weird arrow navigation problems only occur on the latest Linux flavor of IDEA (8.1.3)
I'll see if I can remap them, though I think they are NOPs right now.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic