Skip to content

Commit e6def78

Browse files
committed
fix(goland): fix 222 version lost interface issue
Override method now correctly finds nearest documentation target by removing unnecessary parameter.
1 parent 4ddb66d commit e6def78

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

goland/src/main/kotlin/cc/unitmesh/go/provider/GoLivingDocumentationProvider.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ class GoLivingDocumentationProvider : LivingDocumentation {
5151
override fun findNearestDocumentationTarget(psiElement: PsiElement): PsiNameIdentifierOwner? {
5252
val element = PsiTreeUtil.getParentOfType(
5353
psiElement,
54-
true,
5554
GoFunctionOrMethodDeclaration::class.java,
5655
GoMethodSpec::class.java,
5756
GoTypeDeclaration::class.java,

0 commit comments

Comments
 (0)