Skip to content

Commit 21ebb6d

Browse files
authored
Merge pull request #2069 from Haehnchen/feature/more-preview
fix more preview intention features breaks: Exceptions occurred on in…
2 parents a50db1c + d092b6c commit 21ebb6d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/fr/adrienbrault/idea/symfony2plugin/intentions/php/PhpServiceIntention.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import com.intellij.codeInsight.intention.FileModifier;
44
import com.intellij.codeInsight.intention.PsiElementBaseIntentionAction;
5+
import com.intellij.codeInsight.intention.preview.IntentionPreviewInfo;
56
import com.intellij.openapi.editor.Editor;
67
import com.intellij.openapi.project.Project;
78
import com.intellij.psi.PsiElement;
@@ -24,6 +25,11 @@ public class PhpServiceIntention extends PsiElementBaseIntentionAction {
2425
return null;
2526
}
2627

28+
@Override
29+
public @NotNull IntentionPreviewInfo generatePreview(@NotNull Project project, @NotNull Editor editor, @NotNull PsiFile file) {
30+
return IntentionPreviewInfo.EMPTY;
31+
}
32+
2733
@Override
2834
public void invoke(@NotNull Project project, Editor editor, @NotNull PsiElement psiElement) throws IncorrectOperationException {
2935

0 commit comments

Comments
 (0)