[英]Empty lambda expression on same line
Per default, IntelliJ 15.0.3 puts the closing brace of an empty lambda expression on the next line when reformatting the code. 默认情况下,IntelliJ 15.0.3在重新格式化代码时将空lambda表达式的右括号放在下一行。
Consumer<String> myFunc= aString -> {
};
In my opinion this is slightly detrimental to code readability and I want to keep the empty lambda expression on the same line: 在我看来,这对代码可读性略有不利,我想将空的lambda表达式保留在同一行:
Consumer<String> myFunc= aString -> {};
Where can I find the setting to change this? 我在哪里可以找到更改此设置?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.