Skip to content

Commit 3bcb4b5

Browse files
committed
Improve code completion handling for incomplete elements in block comments
1 parent 4cfd2a7 commit 3bcb4b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/kotlin/org/domaframework/doma/intellij/common/psi/PsiPatternUtil.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ object PsiPatternUtil {
5151
val inComment = PsiTreeUtil.getParentOfType(element, parentClass, true) != null
5252
if (inComment) return true
5353

54+
// Even incomplete elements during input are analyzed as strings and included in the code completion process within block comments.
5455
var prevElement = PsiTreeUtil.prevLeaf(element, true)
5556
while (prevElement != null &&
5657
!(

0 commit comments

Comments
 (0)