void (@NotNull Project project, @Nullable PsiFile file) { FileAssociationsConfigurable instance = new FileAssociationsConfigurable(project); ShowSettingsUtil.getInstance().editConfigurable(project, instance, () -> { if (file != null) { instance.myEditor.select(file); } }); }