protected boolean isSuitableFileType(@NotNull Project project, @NotNull VirtualFile file) {
    return FileTypeRegistry.getInstance().isFileOfType(file, getFileType()) ||
           (ScratchUtil.isScratch(file) && LanguageUtil.getLanguageForPsi(project, file) == getFileLanguage());
  }
protected boolean isSuitableFileType(@NotNull Project project, @NotNull VirtualFile file)