mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Bug fix: Optimize imports invoked on directory reformats entire project.
This commit is contained in:
@@ -107,7 +107,7 @@ public class OptimizeImportsAction extends AnAction {
|
||||
if (ApplicationManager.getApplication().isUnitTestMode()) {
|
||||
includeSubdirectories = processDirectory = false;
|
||||
}
|
||||
else if (!EditorSettingsExternalizable.getInstance().getOptions().SHOW_OPIMIZE_IMPORTS_DIALOG) {
|
||||
else if (!EditorSettingsExternalizable.getInstance().getOptions().SHOW_OPIMIZE_IMPORTS_DIALOG && file != null) {
|
||||
includeSubdirectories = processDirectory = false;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user