65 lines
1.7 KiB
JSON
65 lines
1.7 KiB
JSON
{
|
|
"id": "70745df8-f2f5-42bd-8074-fbc10334fcc5",
|
|
"snapshot": "vscode",
|
|
"instruction": "Please help me open the autosave feature of VS Code and delay AutoSave operations for 500 milliseconds in the VS Code setting.",
|
|
"source": "https://download.microsoft.com/download/8/A/4/8A48E46A-C355-4E5C-8417-E6ACD8A207D4/VisualStudioCode-TipsAndTricks-Vol.1.pdf",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://storage.googleapis.com/drive-bulk-export-anonymous/20240207T164539.876Z/4133399871716478688/90e8000b-16d6-481a-a8eb-de0f4613b6c2/1/c7b78392-6016-4d48-9c04-1110303c47c1?authuser",
|
|
"path": "/home/user/Downloads/HW-8-main-20240207T164539Z-001.zip"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"/bin/bash",
|
|
"-c",
|
|
"cd /home/user/Downloads && unzip -q HW-8-main-20240207T164539Z-001.zip"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"code",
|
|
"/home/user/Downloads/HW-8-main/"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "Visual Studio Code"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"vscode"
|
|
],
|
|
"evaluator": {
|
|
"func": "check_json_settings",
|
|
"expected": {
|
|
"type": "rule",
|
|
"rules": {
|
|
"expected": {
|
|
"files.autoSave": "afterDelay",
|
|
"files.autoSaveDelay": 500
|
|
}
|
|
}
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "/home/user/.config/Code/User/settings.json",
|
|
"dest": "settings.json"
|
|
}
|
|
}
|
|
} |