boolean (@NotNull GotoActionModel.MatchedValue item, int modifiers, @NotNull String text) { if (modifiers == InputEvent.ALT_MASK) { showAssignShortcutDialog(myProject, item); return true; } Object selected = item.value; if (selected instanceof BooleanOptionDescription option) { if (selected instanceof BooleanOptionDescription.RequiresRebuild) { myModel.clearCaches(); // release references to plugin actions so that the plugin can be unloaded successfully myProvider.clearIntentions(); } option.setOptionState(!option.isOptionEnabled()); return false; } if (isRecentEnabled()) { saveRecentAction(item); } GotoActionAction.openOptionOrPerformAction(selected, text, myProject, myContextComponent.get(), modifiers); boolean inplaceChange = selected instanceof GotoActionModel.ActionWrapper && ((GotoActionModel.ActionWrapper)selected).getAction() instanceof ToggleAction; return !inplaceChange; }