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 gha-creds-*.json
junit.xml junit.xml
Thumbs.db Thumbs.db
packages/vscode-ide-companion/schemas/settings.schema.json

View file

@ -69,7 +69,15 @@
}, },
"language": { "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", "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" "default": "auto"
}, },
"outputLanguage": { "outputLanguage": {
@ -89,7 +97,10 @@
}, },
"defaultFileEncoding": { "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", "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" "default": "utf-8"
} }
} }
@ -100,7 +111,10 @@
"properties": { "properties": {
"format": { "format": {
"description": "The format of the CLI output. Options: text, json", "description": "The format of the CLI output. Options: text, json",
"enum": ["text", "json"], "enum": [
"text",
"json"
],
"default": "text" "default": "text"
} }
} }
@ -285,7 +299,10 @@
}, },
"schemaCompliance": { "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", "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" "default": "auto"
}, },
"contextWindowSize": { "contextWindowSize": {
@ -402,7 +419,12 @@
}, },
"approvalMode": { "approvalMode": {
"description": "Approval mode for tool usage. Controls how tools are approved before execution. Options: plan, default, auto-edit, yolo", "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" "default": "default"
}, },
"autoAccept": { "autoAccept": {
@ -531,7 +553,10 @@
"items": { "items": {
"type": "string" "type": "string"
}, },
"default": ["DEBUG", "DEBUG_MODE"] "default": [
"DEBUG",
"DEBUG_MODE"
]
}, },
"bugCommand": { "bugCommand": {
"description": "Configuration for the bug report command.", "description": "Configuration for the bug report command.",