add vscode examples
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"id": "e2b5e914-ffe1-44d2-8e92-58f8c5d92bb2",
|
||||
"snapshot": "vscode",
|
||||
"instruction": "I want to disable the missing imports reporting of python error, please modify the setting of VS Code for me.",
|
||||
"source": "https://superuser.com/questions/1386061/how-to-suppress-some-python-errors-warnings-in-vs-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": {
|
||||
"python.analysis.diagnosticSeverityOverrides": {"reportMissingImports": "none"}
|
||||
}
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "/home/user/.config/Code/User/settings.json",
|
||||
"dest": "settings.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user