在 File - settings - Editor - General- Smart Keys - Enter
去掉 Insert pair ‘}‘ 的对勾就可以了
IntelliJ IDEA 在方法大括号中{}点击回车多出一个},如何取消
原文:https://www.cnblogs.com/hdphappy/p/10843777.html