47 lines
1.1 KiB
JSON
47 lines
1.1 KiB
JSON
{
|
|
"id": "4e60007a-f5be-4bfc-9723-c39affa0a6d3",
|
|
"snapshot": "vscode",
|
|
"instruction": "Please help me install the autoDocstring extension in VS Code.",
|
|
"source": "https://campbell-muscle-lab.github.io/howtos_Python/pages/documentation/best_practices/vscode_docstring_extension/vscode_docstring_extension.html#:~:text=Type%2C%20Ctrl%20%2B%20Shift%20%2B%20P,select%20the%20NumPy%20docstring%20format.",
|
|
"config": [
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"code"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "Visual Studio Code"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/4e60007a-f5be-4bfc-9723-c39affa0a6d3",
|
|
"related_apps": [
|
|
"vscode"
|
|
],
|
|
"evaluator": {
|
|
"func": "is_extension_installed",
|
|
"result": {
|
|
"type": "vm_command_line",
|
|
"command": [
|
|
"code",
|
|
"--list-extensions",
|
|
"|",
|
|
"grep",
|
|
"njpwerner.autodocstring"
|
|
]
|
|
},
|
|
"expected": {
|
|
"type": "rule",
|
|
"rules": {
|
|
"type": "contain",
|
|
"expected": "njpwerner.autodocstring"
|
|
}
|
|
}
|
|
}
|
|
}
|