diff --git a/core/config/load.ts b/core/config/load.ts index 37163d75f..acccdbfdb 100644 --- a/core/config/load.ts +++ b/core/config/load.ts @@ -530,16 +530,14 @@ function escapeSpacesInPath(p: string): string { } async function handleEsbuildInstallation(ide: IDE, ideType: IdeType) { - // TODO: Uncomment - // if (ideType !== "jetbrains") { - // return; - // } + if (ideType !== "jetbrains") { + return; + } - // TODO: Uncomment - // const globalContext = new GlobalContext(); - // if (globalContext.get("hasReceivedConfigTsNoticeJetBrains")) { - // return; - // } + const globalContext = new GlobalContext(); + if (globalContext.get("hasReceivedConfigTsNoticeJetBrains")) { + return; + } const esbuildPath = getEsbuildBinaryPath(); @@ -550,9 +548,7 @@ async function handleEsbuildInstallation(ide: IDE, ideType: IdeType) { console.debug("No esbuild binary detected"); const shouldInstall = await promptEsbuildInstallation(ide); - debugger; - // TODO: Debug toast if (shouldInstall || true) { await downloadAndInstallEsbuild(ide, esbuildPath); } @@ -634,13 +630,6 @@ function readConfigJs(): string | undefined { } async function buildConfigTs(ide: IDE, ideType: IdeType) { - // TODO: Remove - await ide.showToast( - "info", - "You're using a custom 'config.ts' file, which requires 'esbuild' to be installed. Would you like to install it now?", - "YES", - ); - const configTsPath = getConfigTsPath(); if (!fs.existsSync(configTsPath)) { diff --git a/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/continue/CoreMessenger.kt b/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/continue/CoreMessenger.kt index ce7e0088e..ff32b1af8 100644 --- a/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/continue/CoreMessenger.kt +++ b/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/continue/CoreMessenger.kt @@ -28,8 +28,7 @@ class CoreMessenger( private val gson = Gson() private val responseListeners = mutableMapOf Unit>() private val ideProtocolClient = ideProtocolClient - private val useTcp: Boolean = true // TODO: Revert - + private val useTcp: Boolean = false private fun write(message: String) { try { writer?.write(message + "\r\n")