mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
GlobalFxmlSearchScope: do more selective check first
This commit is contained in:
@@ -86,7 +86,7 @@ public class JavaFxScopeEnlarger extends UseScopeEnlarger {
|
||||
|
||||
@Override
|
||||
public boolean contains(@NotNull VirtualFile file) {
|
||||
return super.contains(file) && JavaFxFileTypeFactory.isFxml(file);
|
||||
return JavaFxFileTypeFactory.isFxml(file) && super.contains(file);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user