mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
check previous element for error too
#WEB-20597 fixed #WEB-20633 fixed
This commit is contained in:
@@ -282,7 +282,7 @@ public class EnterHandler extends BaseEnterHandler {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
return base.getPrevSibling() instanceof PsiErrorElement;
|
||||
}
|
||||
|
||||
private static boolean isDocComment(final PsiElement element, final CodeDocumentationAwareCommenter commenter) {
|
||||
|
||||
Reference in New Issue
Block a user