mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 04:09:28 +00:00
snippets: Add setInterval snippet (#61351)
* snippets: Add setInterval snippet * fix: typo in prefix
This commit is contained in:
@@ -140,6 +140,15 @@
|
||||
],
|
||||
"description": "Set Timeout Function"
|
||||
},
|
||||
"Set Interval Function": {
|
||||
"prefix": "setinterval",
|
||||
"body": [
|
||||
"setInterval(() => {",
|
||||
"\t$0",
|
||||
"}, ${1:interval});"
|
||||
],
|
||||
"description": "Set Interval Function"
|
||||
},
|
||||
"Import external module.": {
|
||||
"prefix": "import statement",
|
||||
"body": [
|
||||
|
||||
Reference in New Issue
Block a user