Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hippie Code Completion in IntelliJ IDEA?

In NetBeans, it's Ctrl+K that activate the hippie completion.

In Eclipse, it's Alt+/.

What is it in IDEA?

Edit: Hippie Completion is the kind of completion that doesn't require much information about the context. It scans all the word in file(s) and immediately choose the first match. It originate in some variation of Emacs.

Read more here: http://beust.com/weblog/2005/03/11/hippie-completion-in-eclipse/

like image 233
Phương Nguyễn Avatar asked Aug 21 '10 17:08

Phương Nguyễn


2 Answers

I have found it: Alt+/ or Alt+Shift+/. IDEA call it Expand word.

like image 151
Phương Nguyễn Avatar answered Sep 18 '22 12:09

Phương Nguyễn


The shortcut +/ stopped working on recent Macbooks.

You can change the shortcut, for example to Ctrl+/ and Ctrl++/, in your perferences. The feature is called Cyclic Expand Word in IntelliJ 14.

like image 36
Erik van Oosten Avatar answered Sep 19 '22 12:09

Erik van Oosten