@Override
    public void toggleProblemsView() {
      PsiFile file = getPsiFile();
      VirtualFile virtualFile = file == null ? null : file.getVirtualFile();
      Document document = file == null ? null : file.getViewProvider().getDocument();
      ProblemsView.toggleCurrentFileProblems(getProject(), virtualFile, document);
    }
@Override
    public void toggleProblemsView()