📝 mention .continuerc.json in docs

This commit is contained in:
Nate Sesti 2024-01-30 20:11:48 -08:00
parent 1f0ecdf498
commit d2c53736f6
2 changed files with 3 additions and 1 deletions

View file

@ -3,7 +3,7 @@ import JSONSchemaViewer from "@theme/JSONSchemaViewer";
# Configuration Options
The following shows the JSON Schema definition for `config.json`:
The following shows the JSON Schema definition for `config.json`. You can also define a partial `config.json` object in a file called `.continuerc.json` at the root of your workspace. This will be [applied on top of](https://github.com/continuedev/continue/blob/74c1eb5e25c517c575f72d26227d31d5d2ea18ed/extensions/vscode/src/ideProtocol.ts#L165-L173) any configuration from `config.json`.
<JSONSchemaViewer
schema={Schema}

View file

@ -145,6 +145,8 @@ export async function activateExtension(context: vscode.ExtensionContext) {
fontColor: "#fff",
};
themeJson.fileNames[".continueignore"] = "_f_continue";
themeJson.fileNames[".continuerc.json"] = "_f_continue";
themeJson.fileNames["config.json"] = "_f_continue";
fs.writeFileSync(themePath, JSON.stringify(themeJson));
found = true;
break;