gpt4 book ai didi

intellij-idea - IntelliJ IDEA : how to revoke reformat code/optimize imports dialog?

转载 作者:行者123 更新时间:2023-12-03 15:57:22 24 4
gpt4 key购买 nike

因此,我按下了Do not show this dialog in the future(截取自网络的屏幕截图)。

已经有一段时间了,现在我想更改默认的重新格式化行为。

我似乎找不到再次显示此对话框的选项。

最佳答案

更新 2015/10:

在当前版本的IntelliJ(可能还有Android Studio和其他基于IntelliJ的IDE)中,似乎不再需要此选项,因为它是不需要的。

⌘+ Alt + L不再显示对话框,而是直接重新格式化文件,并提示您可以使用⌘+ Alt + Shift + L来显示对话框。该对话框不再包含“不再显示”选项。

enter image description here

对于较旧的IntelliJ版本,可以在“设置”/“编辑器”/“常规”中重新启用这些对话框:

关于intellij-idea - IntelliJ IDEA : how to revoke reformat code/optimize imports dialog?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27747355/

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