mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
inspection toolwindow: carefully extract possible calculation scope for "run inspection on" action IDEA-156669
This commit is contained in:
+1
-1
@@ -165,7 +165,7 @@ public abstract class KeyAwareInspectionViewAction extends InspectionViewActionB
|
||||
switch (files.size()) {
|
||||
case 0:
|
||||
context = null;
|
||||
scope = new AnalysisScope(view.getProject());
|
||||
scope = view.getScope();
|
||||
break;
|
||||
case 1:
|
||||
final PsiFile theFile = ContainerUtil.getFirstItem(files);
|
||||
|
||||
Reference in New Issue
Block a user