gpt4 book ai didi

java - IntelliJ 禁用自动分行

转载 作者:搜寻专家 更新时间:2023-10-30 19:53:30 24 4
gpt4 key购买 nike

最近我更新到最新版本的 IntelliJ IDEA 14.1.4 Ultimate。自此更新以来,它会自动为我拆分行,这非常烦人,因为我想自己手动进行拆分。

例子:我可能会输入这样的内容:

throw new IllegalArgumentException("You can only provide one vararg/optional parameter to the end of this method!");

在键入 intellij 时自动换行:

throw new IllegalArgumentException("You can only provide one vararg/optional parameter to the end of this" +
" method!");

现在这可能看起来不错,但是当 intelli 决定这样做时真的很烦人,例如当你写一个十进制 double 时它会产生这样的错误: enter image description here

如何禁用此功能/修改此行为?

最佳答案

转到 Intellij 设置并按照这两张图片上的说明进行操作:

Click Here

关于java - IntelliJ 禁用自动分行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31581159/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com