Move: Do not use "Search references" Java options when silently invoking Move refactoring for entire file. Default to true instead

This commit is contained in:
Alexey Sedunov
2015-07-23 16:08:23 +03:00
parent cc13c157f6
commit fc885dedc5
@@ -555,7 +555,7 @@ public class MoveKotlinTopLevelDeclarationsDialog extends RefactoringDialog {
myProject, myProject,
new PsiElement[] {sourceFile}, new PsiElement[] {sourceFile},
targetDirectory, targetDirectory,
RefactoringSettings.getInstance().MOVE_SEARCH_FOR_REFERENCES_FOR_FILE, true,
isSearchInComments(), isSearchInComments(),
isSearchInNonJavaFiles(), isSearchInNonJavaFiles(),
new MoveCallback() { new MoveCallback() {