| 1 | --- |
| 2 | title: config.json 参考 |
| 3 | keywords: [config.json, 配置, 选项] |
| 4 | --- |
| 5 | |
| 6 | import Schema from "@site/static/schemas/config.json"; |
| 7 | import JSONSchemaViewer from "@theme/JSONSchemaViewer"; |
| 8 | |
| 9 | # 配置选项 |
| 10 | |
| 11 | 以下显示在 `config.json` 定义的 JSON Schema 。 |
| 12 | |
| 13 | 你还可以定义部分的 `config.json` 对象,在一个在你的工作区根目录名为 `.continuerc.json` 的文件中。这将应用在来自 `config.json` 的任何配置之上。 |
| 14 | |
| 15 | <JSONSchemaViewer |
| 16 | schema={Schema} |
| 17 | resolverOptions={{ |
| 18 | jsonPointer: "#/definitions/SerializedContinueConfig", |
| 19 | }} |
| 20 | /> |
| 21 | |
| 22 | [查看源码](https://github.com/continuedev/continue/blob/main/extensions/vscode/config_schema.json) |