add vscode examples
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"id": "276cc624-87ea-4f08-ab93-f770e3790175",
|
||||
"snapshot": "vscode",
|
||||
"instruction": "Could you help me set the line length to 50 characters for current user in VS Code?",
|
||||
"source": "https://www.quora.com/unanswered/How-do-you-set-the-line-length-in-Visual-Studio-Code",
|
||||
"config": [
|
||||
{
|
||||
"type": "launch",
|
||||
"parameters": {
|
||||
"command": [
|
||||
"code"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "activate_window",
|
||||
"parameters": {
|
||||
"window_name": "Visual Studio Code"
|
||||
}
|
||||
}
|
||||
],
|
||||
"trajectory": "trajectories/",
|
||||
"related_apps": [
|
||||
"vscode"
|
||||
],
|
||||
"evaluator": {
|
||||
"func": "check_json_settings",
|
||||
"expected": {
|
||||
"type": "rule",
|
||||
"rules": {
|
||||
"expect": {"editor.rulers": [50]}
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "/home/user/.config/Code/User/settings.json",
|
||||
"dest": "settings.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user