96

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.
    – RBT
    Nov 6, 2017 at 23:18

2 Answers 2

193

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

2
  • 6
    File -> Settings -> Editor -> General -> Code completion -> Case sensitive completion in Intellij 14 Dec 23, 2014 at 12:39
  • 7
    Default should have been case insensitive.
    – Timuçin
    Nov 17, 2015 at 12:55
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
  • Even JO<tab> is enough -- just tested :p
    – fge
    Jan 2, 2013 at 19:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.