diff --git a/platform/completion/common/src/protocol/RpcLookupElementEvent.kt b/platform/completion/common/src/protocol/RpcLookupElementEvent.kt index 76f58a4c9047..c718d0b1026b 100644 --- a/platform/completion/common/src/protocol/RpcLookupElementEvent.kt +++ b/platform/completion/common/src/protocol/RpcLookupElementEvent.kt @@ -1,4 +1,4 @@ -// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. +// Copyright 2000-2026 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.platform.completion.common.protocol import com.intellij.openapi.editor.impl.EditorId @@ -14,6 +14,8 @@ sealed interface RpcLookupElementEvent { data class SelectedItem( val requestId: RpcCompletionRequestId, val itemId: RpcCompletionItemId, + val itemPattern: String, + val prefixLength: Int, ) : RpcLookupElementEvent { override fun toString(): String = buildToString("SelectedItem") { field("requestId", requestId)