且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

IntelliJ IDEA的:如何撤销格式化code /优化导入对话框?

更新时间:2021-12-18 00:34:56

更新十分之二千零十五​​:

Update 2015/10:

在的IntelliJ(可能的Andr​​oid棚等基础的IntelliJ的IDE)的最新版本也似乎不再是这个选项,因为不需要它。

In current versions of IntelliJ (and likely Android studio and other IntelliJ based IDEs) there no longer seems to be this option as it is not needed.

⌘骨节病> + 替代骨节病> + →骨节病>不再显示该对话框,而是直接重新格式化文件,并给你,你可以显示一个提示使用⌘骨节病> + 替代骨节病> + 移骨节病> + →骨节病>对话框。该对话框中不再包含的不要再显示的选项。

+Alt+L no longer shows the dialog, instead it directly reformats the file and gives you a hint that you can display the dialog using +Alt+Shift+L. That dialog no longer includes Do not show again option.

IntelliJ IDEA的:如何撤销格式化code /优化导入对话框?

对于老版本的IntelliJ可以重新启用这些对话框的设置/编辑/一般的:

For older IntelliJ versions these dialogs can be re-enabled in Settings/Editor/General:

IntelliJ IDEA的:如何撤销格式化code /优化导入对话框?