add vscode examples
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"id": "ea98c5d7-3cf9-4f9b-8ad3-366b58e0fcae",
|
||||
"snapshot": "vscode",
|
||||
"instruction": "I want to remove the shortcut 'cmd+f' for Tree view Find (Explorer search) in VS Code explorer view due to shortcut conflict. Can you help me remove this shortcut?",
|
||||
"source": ["https://superuser.com/questions/1748097/vs-code-disable-tree-view-find-explorer-search",
|
||||
"https://superuser.com/questions/1417361/how-to-disable-file-filtering-in-vs-code-sidebar-explorer?rq=1"
|
||||
],
|
||||
"config": [
|
||||
{
|
||||
"type": "launch",
|
||||
"parameters": {
|
||||
"command": [
|
||||
"code"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "activate_window",
|
||||
"parameters": {
|
||||
"window_name": "Visual Studio Code"
|
||||
}
|
||||
}
|
||||
],
|
||||
"trajectory": "trajectories/",
|
||||
"related_apps": [
|
||||
"vscode"
|
||||
],
|
||||
"evaluator": {
|
||||
"func": "check_json_keybindings",
|
||||
"expected": {
|
||||
"type": "rule",
|
||||
"rules": {
|
||||
"expect":
|
||||
{
|
||||
"key": "cmd+f",
|
||||
"command": "-list.find",
|
||||
"when": "listFocus && listSupportsFind"
|
||||
}
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "/home/user/.config/Code/User/keybindings.json",
|
||||
"dest": "keybindings.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user