95

In eclipse 4.2, I can just type:

joptionpane 

and press CTRL+SPACE and it will turn into:

JOptionPane 

Is there any way to do the same with intelliJ IDEA? I have tried pressing CTRL+SPACE, and ALT+/. But, for some reason it just does not work.

I would be most grateful if anyone could show me how to do this.

I am just trying out version 12 of IDEA, since some of my friends told me that it was a better IDE and had better code completion (their opinions).

1
  • I faced exactly same problem in Android Studio as well as it is also based on intelliJ platform only. Commented Nov 6, 2017 at 23:18

2 Answers 2

194

You can disable the case sensitivity of the code completion in the settings menu:

File -> Settings -> Editor -> Code completion -> Case sensitive completion

enter image description here

If you then type "jo" and hit TAB, it will expand to JOptionPane.

Updated screenshot for IntelliJ 15

enter image description here

Update screenshot for IntelliJ 2018

enter image description here

Sign up to request clarification or add additional context in comments.

2 Comments

File -> Settings -> Editor -> General -> Code completion -> Case sensitive completion in Intellij 14
Default should have been case insensitive.
0

IDEA is very senstive to capitalisation so I doubt it will ignore it. You can type JOP+<tab> and it will give you JOptionPane.

1 Comment

Even JO<tab> is enough -- just tested :p

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.