@Override
  protected @Nullable PsiElement checkLocalScope() {
    return PsiDocumentManager.getInstance(myProject).getPsiFile(myEditor.getDocument());
  }
@Override
  protected @Nullable PsiElement checkLocalScope()