mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Added scope and file mask filter to reformat directory/project/module dialogs (IDEA-59850) [CR-IC-5534]
This commit is contained in:
+13
@@ -29,6 +29,7 @@ import com.intellij.psi.PsiDocumentManager;
|
||||
import com.intellij.psi.PsiElement;
|
||||
import com.intellij.psi.PsiFile;
|
||||
import com.intellij.psi.impl.file.PsiDirectoryFactory;
|
||||
import com.intellij.psi.search.SearchScope;
|
||||
import com.intellij.testFramework.PsiTestCase;
|
||||
import com.intellij.testFramework.PsiTestUtil;
|
||||
import com.intellij.util.containers.ContainerUtil;
|
||||
@@ -325,6 +326,18 @@ class MockReformatFileSettings implements LayoutCodeOptions {
|
||||
private boolean myProcessOnlyChangedText;
|
||||
private boolean myIsOK = true;
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public SearchScope getSearchScope() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public String getFileTypeMask() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isProcessWholeFile() {
|
||||
return myProcessWholeFile;
|
||||
|
||||
Reference in New Issue
Block a user