mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
No "Project Files" scope in "Find in Path" dialog (IDEA-170619)
This commit is contained in:
@@ -87,7 +87,7 @@ public class FindPopupScopeUIImpl implements FindPopupScopeUI {
|
||||
|
||||
myScopeCombo = new ScopeChooserCombo();
|
||||
myScopeCombo.init(myProject, true, true, FindSettings.getInstance().getDefaultScopeName(), new Condition<ScopeDescriptor>() {
|
||||
final String projectFilesScopeName = PsiBundle.message("psi.search.scope.project");
|
||||
//final String projectFilesScopeName = PsiBundle.message("psi.search.scope.project");
|
||||
final String moduleFilesScopeName;
|
||||
|
||||
{
|
||||
@@ -99,7 +99,7 @@ public class FindPopupScopeUIImpl implements FindPopupScopeUI {
|
||||
@Override
|
||||
public boolean value(ScopeDescriptor descriptor) {
|
||||
final String display = descriptor.getDisplay();
|
||||
return !projectFilesScopeName.equals(display) && !display.startsWith(moduleFilesScopeName);
|
||||
return /*!projectFilesScopeName.equals(display) &&*/ !display.startsWith(moduleFilesScopeName);
|
||||
}
|
||||
});
|
||||
myScopeCombo.setBrowseListener(new ScopeChooserCombo.BrowseListener() {
|
||||
|
||||
Reference in New Issue
Block a user