continue icon indicating copy to clipboard operation
continue copied to clipboard

Bug: YAML config path does not load workspace .continuerc.json files

Open shanevcantwell opened this issue 11 months ago • 2 comments

Description

When using config.yaml (the default for new installations), workspace .continuerc.json files are completely ignored. Only users with config.json can use workspace-level configuration.

Location

  • core/config/yaml/loadYaml.ts - loadContinueConfigFromYaml function
  • core/config/load.ts - loadContinueConfigFromJson function

Problem

The JSON config loading path calls getWorkspaceRcConfigs(ide) to load and merge .continuerc.json files from workspace directories:

// In loadContinueConfigFromJson (load.ts)
const workspaceConfigs = await getWorkspaceRcConfigs(ide);
// ... then merges them into the config

The YAML config loading path has no equivalent - it never calls getWorkspaceRcConfigs:

// In loadContinueConfigFromYaml (loadYaml.ts)
// No call to getWorkspaceRcConfigs anywhere in the function

Impact

  • Users with config.yaml (the default) cannot use .continuerc.json for per-repo settings
  • This is a significant feature gap between the two config formats
  • Documentation about .continuerc.json doesn't mention this limitation

Expected behavior

Both config paths should load and merge .continuerc.json files from workspace directories.

Workaround

Rename ~/.continue/config.yaml to config.yaml.bak and create a ~/.continue/config.json instead.

shanevcantwell avatar Dec 25 '25 05:12 shanevcantwell

Related issues:

  • #9312 - Bug: .continuerc.json files fail to load due to 'this' binding issue
  • #3892 - .continuerc.json not overriding config.json for Android Studio
  • #2121 - Using a symlink for ".continuerc.json" does not work
  • #4919 - Track config loading sources and display in settings page (closed)
  • #5817 - Continue is looking for configuration in config.json instead of local .continue/yamls (closed)

continue avatar Dec 25 '25 06:12 continue

:tada: This issue has been resolved in version 1.41.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

sestinj avatar Feb 03 '26 05:02 sestinj