Python: add debug based on location snippet

This commit is contained in:
Rasmus Wriedt Larsen
2022-10-05 16:44:12 +02:00
parent 24a84875ad
commit ad915e2698

View File

@@ -25,6 +25,17 @@
"description": "has relative path", "description": "has relative path",
}, },
"debug based on location": {
"scope": "ql",
"prefix": "debug based on location",
"body": [
"$1.getLocation().getFile().getShortName() = \"$2\" and",
"$1.getLocation().getStartLine() = $3 and",
],
"description": "debug based on location",
},
"Exists": { "Exists": {
"scope": "ql", "scope": "ql",
"prefix": "exists", "prefix": "exists",