Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to select without arrow keys in INTELLIJ

Auto-complete example

I hate to use arrow keys in IntelliJ. However, when IntelliJ gives me some advices (auto complete, etc.), as in the picture, it seems that I have to choose them with mouse or arrow keys.

Is there a way that I can switch the selections without using arrow keys? For example, maybe I can use <C-n> (or other keys, like) to switch between these suggestions.

like image 281
Zhigong Li Avatar asked Apr 21 '15 15:04

Zhigong Li


People also ask

How do I select in IntelliJ?

Select multiple occurrences of a word or a text range Successively press Alt+J to find and select the next occurrence of case-sensitively matching word or text range. Press Ctrl+Alt+Shift+J to select all case-sensitively matching words or text ranges in the document.

What is Ctrl Alt L in IntelliJ?

Sometimes code formatting can get out of sync, but there's an easy fix in IntelliJ IDEA. You can use ⌘⌥L (macOS), or Ctrl+Alt+L (Windows/Linux) to reformat a selection of code according to your reformat settings.

How do I select a column in IntelliJ?

Press Alt+Shift+Insert . From the main menu, choose Edit | Column Selection Mode. From the context menu of the editor, choose Column Selection Mode.


1 Answers

You can go to Settings | Keymap, find actions "Up" and "Down" there and assign whatever shortcuts you like to them.

like image 51
Peter Gromov Avatar answered Oct 21 '22 16:10

Peter Gromov