CutProvider (@NotNull AnActionEvent e) { CutProvider provider = e.getData(PlatformDataKeys.CUT_PROVIDER); Project project = e.getProject(); if (project != null && DumbService.isDumb(project) && !DumbService.isDumbAware(provider)) { return null; } return provider; }