问题
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.
回答1:
Disable Insert pair bracket:

回答2:
I had this problem also but I found the magical switch to disable it. Within Intellij settings, go to: Settings->Clojure (For current project) and you will see a setting checked called: "Use structural editing". Just un-check this option checkbox and you will not have auto-closing paren for a new open paren.
Jeff
来源:https://stackoverflow.com/questions/9103779/how-do-i-turn-off-auto-parenthesis-generation-in-intellij-idea