remove idetype enum

This commit is contained in:
Dallin Romney 2025-03-18 14:35:11 -07:00
parent 8a688cd85e
commit bbb90dec3a
2 changed files with 2 additions and 7 deletions

View file

@ -83,7 +83,7 @@ class IntelliJIDE(
val extensionVersion = plugin?.version ?: "Unknown"
return IdeInfo(
ideType = IdeType.JETBRAINS,
ideType = "jetbrains",
name = ideName,
version = ideVersion,
remoteName = remoteName,

View file

@ -2,11 +2,6 @@ package com.github.continuedev.continueintellijextension
import com.google.gson.JsonElement
enum class IdeType(val value: String) {
JETBRAINS("jetbrains"),
VSCODE("vscode"),
}
enum class ToastType(val value: String) {
INFO("info"),
ERROR("error"),
@ -30,7 +25,7 @@ data class Position(val line: Int, val character: Int)
data class Range(val start: Position, val end: Position)
data class IdeInfo(
val ideType: IdeType,
val ideType: String,
val name: String,
val version: String,
val remoteName: String,