Skip to content

Commit 1bc2d98

Browse files
committed
chore: add vscode snippets
1 parent c2bb792 commit 1bc2d98

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.vscode/snippets.code-snippets

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"SCIUtils: Bool Pref": {
3+
"prefix": "scibool",
4+
"body": [
5+
"if ([SCIUtils getBoolPref:@\"${1:key}\"]) $0"
6+
]
7+
},
8+
"SCIUtils: String Pref": {
9+
"prefix": "scistring",
10+
"body": [
11+
"if ([[SCIUtils getStringPref:@\"${1:key}\"] isEqualToString:@\"${2:string}\"]) $0"
12+
]
13+
},
14+
15+
"SCIUtils: Log": {
16+
"prefix": "scilog",
17+
"body": [
18+
"SCILog($0);"
19+
]
20+
},
21+
"SCIUtils: Log Id": {
22+
"prefix": "scilogid",
23+
"body": [
24+
"SCILogId(@\"${1:prefix}\", @\"$0\");"
25+
]
26+
}
27+
}

0 commit comments

Comments
 (0)