chore: remove default jetbrains config

This commit is contained in:
Dallin Romney 2025-08-18 15:29:07 -07:00
parent ce41823c66
commit dd9fdd3bf3
2 changed files with 5 additions and 10 deletions

View file

@ -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",

View file

@ -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));
}