47 lines
1.0 KiB
JSON
47 lines
1.0 KiB
JSON
{
|
|
"id": "57242fad-77ca-454f-b71b-f187181a9f23",
|
|
"snapshot": "vscode",
|
|
"instruction": "Please help me create a new python file named \"test.py\" via VS Code and save it at \"/home/user/Desktop\".",
|
|
"source": "https://download.microsoft.com/download/8/A/4/8A48E46A-C355-4E5C-8417-E6ACD8A207D4/VisualStudioCode-TipsAndTricks-Vol.1.pdf",
|
|
"config": [
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"code"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "Visual Studio Code"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"vscode"
|
|
],
|
|
"evaluator": {
|
|
"func": "is_extension_installed",
|
|
"result": {
|
|
"type": "vm_command_line",
|
|
"command": [
|
|
"ls",
|
|
"/home/user/Desktop",
|
|
"|",
|
|
"grep",
|
|
"test.py"
|
|
]
|
|
},
|
|
"expected": {
|
|
"type": "rule",
|
|
"rules": {
|
|
"type": "contain",
|
|
"expected": "test.py"
|
|
}
|
|
}
|
|
},
|
|
"proxy": false
|
|
} |