Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I turn off auto-parenthesis generation in Intellij IDEA?

When typing a function name (or auto completing) IDEA automatically puts the parentheses after it and puts the cursor between them: foo(|)

I greatly dislike this and would much prefer it let me type the parentheses myself. Is there any way to do this?

Update:

Re: "Insert Pair Bracket" setting:

So, this option is turned off already for me. I just tested and found out that this ONLY happens in Actionscript files. In Java it only gives me the ( character and it lets my type over it. In Actionscript it automatically puts both parens no matter what I do. Might have to look deeper into the plugin.

like image 340
Adam Conroy Avatar asked Feb 01 '12 21:02

Adam Conroy


People also ask

How do I turn on auto suggestion in IntelliJ?

Press Ctrl+Alt+S to open the IDE settings and select Editor | General | Code Completion. To automatically display the suggestions list, select the Show suggestions as you type checkbox.

How do I turn off auto completion in Pycharm?

Go to Settings / Preferences | Editor | General | Postfix Completion and select the Enable postfix completion checkbox. Select Tab , Space , or Enter to be used for expanding postfix templates. Enable/disable a particular postfix template for the selected language.

What feature in IntelliJ and even in other IDE that allows the program to provide suggestions in completing a statement in Java?

Intelligent code completion IntelliJ IDEA provides context-sensitive code completion, offering you suggestions that are only valid for the current caret position.


1 Answers

Disable Insert pair bracket:

Insert pair bracket

like image 54
CrazyCoder Avatar answered Oct 03 '22 20:10

CrazyCoder