mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
iterate: don't load template settings (IDEA-216055)
GitOrigin-RevId: 07db195a19205f7ee0fce3757df80ea1d35a1f50
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c51af50a09
commit
61bf2d7e74
+1
-1
@@ -39,7 +39,7 @@ public class IterateOverIterableIntention implements IntentionAction {
|
||||
|
||||
@Override
|
||||
public boolean isAvailable(@NotNull Project project, Editor editor, PsiFile file) {
|
||||
final TemplateImpl template = getTemplate();
|
||||
final TemplateImpl template = file instanceof PsiJavaFile ? getTemplate() : null;
|
||||
if (template != null) {
|
||||
int offset = editor.getCaretModel().getOffset();
|
||||
int startOffset = offset;
|
||||
|
||||
Reference in New Issue
Block a user