Search code examples
visual-studiointellij-ideaintellisensecode-completion

IntelliJ Code Completion


I really like the Code Completion in Visual Studio: I have a Variable called myrandomvariableand when I type myrandfollowed by a dot or a space, VS automatically inserts myrandomvariablefor me. I am so used to this, that in any other IDE I always expect the same behaviour and do not press ctrl+dot, enter or whatevers key combination. As I am using Android Studio I want to know if there exists a way to use the Visual Studio Style Code Completion in a IntelliJ IDE.
Thanks


Solution

  • You can easily enable this feature in IntelliJ.

    Go to Settings/Editor/Autocompletion and check insert selected variant by typing dot, space, etc.

    Btw: settings section was restructured a bit so this setting might be in a different location in IntelliJ 14 (I currently have 13 installed). But you should be able to find it easily using search dialog in case this is no longer the correct location for IntelliJ 14.