Skip to content

Commit 8c58e70

Browse files
committed
Add KtUserType as completion type
1 parent 11bcbdb commit 8c58e70

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/main/kotlin/org/javacs/kt/completion/Completions.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ private fun completableElement(file: CompiledFile, cursor: Int): KtElement? {
244244
// package x.y.?
245245
?: el.findParent<KtPackageDirective>()
246246
// :?
247+
?: el as? KtUserType
247248
?: el.parent as? KtTypeElement
248249
// .?
249250
?: el as? KtQualifiedExpression

0 commit comments

Comments
 (0)