mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-03-23 07:42:52 +08:00
Update prompts
This commit is contained in:
@@ -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
|
||||
}
|
||||
70
.vscode/tasks-example.json
vendored
70
.vscode/tasks-example.json
vendored
@@ -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
87
.vscode/tasks.example.json
vendored
Normal 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
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user