如何在Intellij IDEA中关闭自动括号生成? [英] How do I turn off auto-parenthesis generation in Intellij IDEA?

查看:724
本文介绍了如何在Intellij IDEA中关闭自动括号生成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

键入函数名称(或自动完成)时,IDEA会自动将括号放在它后面,并将光标放在它们之间:
foo(|)

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?

更新:

Re:插入对支架设置:

Re: "Insert Pair Bracket" setting:

因此,此选项已经为我关闭。我刚测试并发现这只发生在Actionscript文件中。在Java中它只给了我(字符和它让我的类型覆盖它。在Actionscript中,无论我做什么,它都会自动放入两个parens。可能需要深入了解插件。

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.

推荐答案

禁用插入对括号

这篇关于如何在Intellij IDEA中关闭自动括号生成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆