mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[inline-completion] IJPL-161906: use FinishType and EffectType in RPC calls directly
(cherry picked from commit 0b78a6551922465f9f41f63d2cbdab1bee94a77c) IJ-MR-147762 GitOrigin-RevId: 6142cdef5cff7590d525997b5fedd34072b691a7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9076a2e253
commit
d4c591aed8
@@ -14,6 +14,7 @@ import com.intellij.internal.statistic.service.fus.collectors.CounterUsagesColle
|
||||
import com.intellij.internal.statistic.utils.PluginInfo
|
||||
import com.intellij.openapi.progress.ProcessCanceledException
|
||||
import com.intellij.util.application
|
||||
import kotlinx.serialization.Serializable
|
||||
import org.jetbrains.annotations.ApiStatus
|
||||
import java.util.concurrent.locks.ReentrantLock
|
||||
import kotlin.concurrent.withLock
|
||||
@@ -90,6 +91,7 @@ object InlineCompletionUsageTracker : CounterUsagesCollector() {
|
||||
val EXPLICIT_SWITCHING_VARIANTS_TIMES = EventFields.Int("explicit_switching_variants_times", "How many times the user was switching between completion variants (we only have 1 at the moment)")
|
||||
val SELECTED_INDEX = EventFields.Int("selected_index")
|
||||
|
||||
@Serializable
|
||||
enum class FinishType {
|
||||
SELECTED,
|
||||
TYPED,
|
||||
|
||||
Reference in New Issue
Block a user