Files
syops/.vscode/settings.json
T
hugo 1fc9976ca3 feat(chat): 更新发货任务处理逻辑和界面文本
- 移除不必要的状态引用
- 更新上传处理提示文本,使用国际化支持
- 扩展发货任务摘要接口,增加错误信息和短缺信息
- 更新多语言支持的文本,改善用户体验
- 增加批次工作区的汇总信息和操作提示
2026-06-29 14:43:27 +08:00

59 lines
1.9 KiB
JSON

{
// 后端 Python 虚拟环境
"python.defaultInterpreterPath": "${workspaceFolder}/backend/.venv/Scripts/python.exe",
"python.terminal.activateEnvironment": true,
"python.venvPath": "${workspaceFolder}/backend",
"python.venvFolders": [".venv"],
"github.copilot.chat.commitMessageGeneration.instructions": [
{
"text": "Generate Git commit messages in Simplified Chinese by default."
},
{
"text": "Follow Conventional Commits format: <type>(<scope>): <subject>."
},
{
"text": "Use English for type and scope; use Simplified Chinese for subject and body."
},
{
"text": "Allowed types are feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert."
},
{
"text": "The subject must be imperative, no period at the end, and no longer than 100 Chinese characters."
},
{
"text": "Avoid vague messages such as update, fix bug, or WIP."
},
{
"text": "When a body is useful, write concise Chinese bullet points describing concrete changes."
}
],
// 默认终端:加载 cd 钩子,进入 backend 时自动激活 .venv
"terminal.integrated.defaultProfile.windows": "PowerShell (HXOPS)",
"terminal.integrated.profiles.windows": {
"PowerShell (HXOPS)": {
"source": "PowerShell",
"icon": "terminal-powershell",
"args": [
"-NoExit",
"-ExecutionPolicy",
"Bypass",
"-File",
"${workspaceFolder}/scripts/powershell-backend-auto-venv.ps1"
]
},
"HXOPS Backend": {
"source": "PowerShell",
"icon": "server-environment",
"args": [
"-NoExit",
"-ExecutionPolicy",
"Bypass",
"-Command",
"Set-Location '${workspaceFolder}/backend'; if (Test-Path '.venv/Scripts/Activate.ps1') { . '.venv/Scripts/Activate.ps1' }"
]
}
},
"js/ts.tsdk.path": "node_modules\\typescript\\lib"
}