feat: update JSON Schema for VS Code settings with improved formatting

This commit is contained in:
DragonnZhang 2026-02-26 16:18:01 +08:00
parent 585081e7de
commit 6d68d6ec24
2 changed files with 32 additions and 6 deletions

View file

@ -18,3 +18,4 @@ eslint.config.js
gha-creds-*.json
junit.xml
Thumbs.db
packages/vscode-ide-companion/schemas/settings.schema.json

View file

@ -69,7 +69,15 @@
},
"language": {
"description": "The language for the user interface. Use \"auto\" to detect from system settings. You can also use custom language codes (e.g., \"es\", \"fr\") by placing JS language files in ~/.qwen/locales/ (e.g., ~/.qwen/locales/es.js). Options: auto, en, zh, ru, de, ja, pt",
"enum": ["auto", "en", "zh", "ru", "de", "ja", "pt"],
"enum": [
"auto",
"en",
"zh",
"ru",
"de",
"ja",
"pt"
],
"default": "auto"
},
"outputLanguage": {
@ -89,7 +97,10 @@
},
"defaultFileEncoding": {
"description": "Default encoding for new files. Use \"utf-8\" (default) for UTF-8 without BOM, or \"utf-8-bom\" for UTF-8 with BOM. Only change this if your project specifically requires BOM. Options: utf-8, utf-8-bom",
"enum": ["utf-8", "utf-8-bom"],
"enum": [
"utf-8",
"utf-8-bom"
],
"default": "utf-8"
}
}
@ -100,7 +111,10 @@
"properties": {
"format": {
"description": "The format of the CLI output. Options: text, json",
"enum": ["text", "json"],
"enum": [
"text",
"json"
],
"default": "text"
}
}
@ -285,7 +299,10 @@
},
"schemaCompliance": {
"description": "The compliance mode for tool schemas sent to the model. Use \"openapi_30\" for strict OpenAPI 3.0 compatibility (e.g., for Gemini). Options: auto, openapi_30",
"enum": ["auto", "openapi_30"],
"enum": [
"auto",
"openapi_30"
],
"default": "auto"
},
"contextWindowSize": {
@ -402,7 +419,12 @@
},
"approvalMode": {
"description": "Approval mode for tool usage. Controls how tools are approved before execution. Options: plan, default, auto-edit, yolo",
"enum": ["plan", "default", "auto-edit", "yolo"],
"enum": [
"plan",
"default",
"auto-edit",
"yolo"
],
"default": "default"
},
"autoAccept": {
@ -531,7 +553,10 @@
"items": {
"type": "string"
},
"default": ["DEBUG", "DEBUG_MODE"]
"default": [
"DEBUG",
"DEBUG_MODE"
]
},
"bugCommand": {
"description": "Configuration for the bug report command.",