From dd9fdd3bf35f7cc5b9bcf76ca03ba449585e2bc6 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Mon, 18 Aug 2025 15:29:07 -0700 Subject: [PATCH] chore: remove default jetbrains config --- core/config/default.ts | 8 -------- core/util/paths.ts | 7 +++++-- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/core/config/default.ts b/core/config/default.ts index 8a0b92788..a3a2d14e6 100644 --- a/core/config/default.ts +++ b/core/config/default.ts @@ -1,13 +1,5 @@ import { ConfigYaml } from "@continuedev/config-yaml"; -export const defaultContextProvidersJetBrains: NonNullable< - ConfigYaml["context"] ->[number][] = [ - { provider: "diff" }, - { provider: "folder" }, - { provider: "codebase" }, -]; - export const defaultConfig: ConfigYaml = { name: "Local Assistant", version: "1.0.0", diff --git a/core/util/paths.ts b/core/util/paths.ts index 315053413..17d0333b7 100644 --- a/core/util/paths.ts +++ b/core/util/paths.ts @@ -9,7 +9,7 @@ import * as JSONC from "comment-json"; import dotenv from "dotenv"; import { IdeType, SerializedContinueConfig } from "../"; -import { defaultConfig, defaultConfigJetBrains } from "../config/default"; +import { defaultConfig } from "../config/default"; import Types from "../config/types"; dotenv.config(); @@ -110,7 +110,10 @@ export function getConfigYamlPath(ideType?: IdeType): string { const p = path.join(getContinueGlobalPath(), "config.yaml"); if (!fs.existsSync(p) && !fs.existsSync(getConfigJsonPath())) { if (ideType === "jetbrains") { - fs.writeFileSync(p, YAML.stringify(defaultConfigJetBrains)); + // https://github.com/continuedev/continue/pull/7224 + // This was here because we had different context provider support between jetbrains and vs code + // Leaving so we could differentiate later but for now configs are the same between IDEs + fs.writeFileSync(p, YAML.stringify(defaultConfig)); } else { fs.writeFileSync(p, YAML.stringify(defaultConfig)); }