add vsc examples and fix prev issues
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"id": "ec71221e-ac43-46f9-89b8-ee7d80f7e1c5",
|
||||
"snapshot": "vscode",
|
||||
"instruction": "Please help me increase the indent of line 2 to line 10 by one tab.",
|
||||
"source": "https://stackoverflow.com/questions/47903209/how-to-shift-a-block-of-code-left-right-by-one-space-in-vscode",
|
||||
"config": [
|
||||
{
|
||||
"type": "download",
|
||||
"parameters": {
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.usercontent.google.com/download?id=1k4rv_meWQyYfNMHTWipJnvh3uA5LWnWa&export=download&authuser=0&confirm=t&uuid=e923fec7-a55c-4266-8d40-be017ac54c7d&at=APZUnTVDyVA7V72IC3r2vrjwY0xz:1706666734010",
|
||||
"path": "/home/user/Desktop/test.py"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "launch",
|
||||
"parameters": {
|
||||
"command": ["code", "/home/user/Desktop/test.py"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "activate_window",
|
||||
"parameters": {
|
||||
"window_name": "Visual Studio Code"
|
||||
}
|
||||
}
|
||||
],
|
||||
"trajectory": "trajectories/",
|
||||
"related_apps": [
|
||||
"vscode"
|
||||
],
|
||||
"evaluator": {
|
||||
"func": "compare_text_file",
|
||||
"expected": {
|
||||
"type": "cloud_file",
|
||||
"path": "https://drive.usercontent.google.com/download?id=1fNZ4r-G58QVo5yFjS1jTqxFJAXXNyf1G&export=download&authuser=0&confirm=t&uuid=c577a187-1225-4d98-98da-d3b33b9e6c82&at=APZUnTXSUy1dHiC2Oavo5g-wRJe8:1706666819711",
|
||||
"dest": "test_gold.py"
|
||||
},
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "/home/user/Desktop/test.py",
|
||||
"dest": "test.py"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user