Update prompts

This commit is contained in:
vczh
2026-02-05 15:53:47 -08:00
parent b9ee2b3e22
commit fe2a56d5bf
40 changed files with 1125 additions and 1793 deletions

View File

@@ -28,36 +28,20 @@
"chat.agent.maxRequests": 9999,
"task.allowAutomaticTasks": "on",
"chat.tools.terminal.autoApprove": {
"yarn": true,
"npm": true,
"npx vitest run": true,
"cd": true,
"findstr": true,
"rm": true,
"rmdir": true,
"del": true,
"Test-Path": true,
"/^Set-Location\\b/i": true,
"/^\\w+-String\\b/i": true,
"/^Remove-Item\\b/i": true,
"/^New-Item\\b/i": true,
"/^Copy-Item\\b/i": true,
"/^Move-Item\\b/i": true,
"/^Get-Content\\b/i": true,
"/^Select-Object\\b/i": true,
"/^ForEach-Object\\b/i": true,
"/^Measure-Object\\b/i": true,
"/\\bcopilot(Prepare|Build|Execute)\\.ps1\\b/i": true,
"/^\\$\\w+\\s*=/": true,
"/.*/": true,
"/git.*push/": false,
"kill": false,
"curl": false,
"wget": false,
"eval": false,
"chmod": false,
"chown": false,
"/^Stop-Process\\b/i": false,
"/^Invoke-WebRequest\\b/i": false,
"/^Invoke-Expression\\b/i": false,
"/^Get-Acl\\b/i": false,
"/^Set-Acl\\b/i": false
}
"Stop-Process": false,
"Invoke-WebRequest": false,
"Invoke-Expression": false,
"Get-Acl": false,
"Set-Acl": false
},
"chatgpt.openOnStartup": true
}

View File

@@ -1,70 +0,0 @@
{
"version": "2.0.0",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared",
"clear": true,
"close": false,
"showReuseMessage": false
},
"runOptions": {
"runOn": "default"
},
"tasks": [
{
"label": "Build Unit Tests",
"type": "shell",
"windows": {
"problemMatcher": "$msCompile",
"command": "powershell.exe",
"args": [
"-ExecutionPolicy", "Bypass",
"-File", "${workspaceFolder}/.github/TaskLogs/copilotBuild.ps1"
]
},
"linux": {
"command": "false"
},
"options": {
"cwd": "${workspaceFolder}/Test/UnitTest"
},
"group": "build"
},
{
"label": "Run Unit Tests",
"type": "shell",
"windows": {
"command": "powershell.exe",
"args": [
"-ExecutionPolicy", "Bypass",
"-File", "${workspaceFolder}/.github/TaskLogs/copilotExecute.ps1",
"-Executable", "UnitTest"
]
},
"linux": {
"command": "false"
},
"options": {
"cwd": "${workspaceFolder}/Test/UnitTest"
},
"group": {
"kind": "test",
"isDefault": true
}
},
{
"label": "Build and Run Unit Tests",
"dependsOrder": "sequence",
"dependsOn": [
"Build Unit Tests",
"Run Unit Tests"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}

87
.vscode/tasks.example.json vendored Normal file
View File

@@ -0,0 +1,87 @@
{
"version": "2.0.0",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared",
"clear": true,
"close": false,
"showReuseMessage": false
},
"runOptions": {
"runOn": "default"
},
"tasks": [
{
"label": "Build Unit Tests",
"type": "shell",
"windows": {
"command": "${workspaceFolder}/.github/Scripts/copilotBuild.ps1"
},
"linux": {
"command": "false"
},
"options": {
"cwd": "${workspaceFolder}/Test/UnitTest"
},
"group": "build"
},
{
"label": "Run Unit Tests",
"type": "shell",
"windows": {
"command": "${workspaceFolder}/.github/Scripts/copilotExecute.ps1 -Executable UnitTest"
},
"linux": {
"command": "false"
},
"options": {
"cwd": "${workspaceFolder}/Test/UnitTest"
},
"group": {
"kind": "test",
"isDefault": true
}
},
{
"label": "Start Debugging Unit Test",
"type": "shell",
"windows": {
"command": "${workspaceFolder}/.github/Scripts/copilotDebug_Start.ps1 -Executable UnitTest"
},
"linux": {
"command": "false"
},
"options": {
"cwd": "${workspaceFolder}/Test/UnitTest"
}
},
{
"label": "Stop Debugging Unit Test",
"type": "shell",
"windows": {
"command": "${workspaceFolder}/.github/Scripts/copilotDebug_Stop.ps1"
},
"linux": {
"command": "false"
},
"options": {
"cwd": "${workspaceFolder}/Test/UnitTest"
}
},
{
"label": "Build and Run Unit Tests",
"dependsOrder": "sequence",
"dependsOn": [
"Stop Debugging Unit Test",
"Build Unit Tests",
"Run Unit Tests"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}