66 lines
1.7 KiB
JSON
66 lines
1.7 KiB
JSON
{
|
|
"id": "c6bf789c-ba3a-4209-971d-b63abf0ab733",
|
|
"snapshot": "vscode",
|
|
"instruction": "Please help me modify VS Code setting to hide all \"__pycache__\" folders in the explorer view.",
|
|
"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/20240207T140008.374Z/4133399871716478688/c9171ab5-0655-4c8e-aac8-e2cf6705e9f3/1/01132d9e-2db6-4984-a1ae-e1ff9150367b?authuser",
|
|
"path": "/home/user/Downloads/hw_python_oop-master.zip"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"/bin/bash",
|
|
"-c",
|
|
"cd /home/user/Downloads && unzip -q hw_python_oop-master.zip"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"code",
|
|
"/home/user/Downloads/hw_python_oop-master"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"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.exclude": {
|
|
"**/__pycache__": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "/home/user/.config/Code/User/settings.json",
|
|
"dest": "settings.json"
|
|
}
|
|
}
|
|
} |