Skip to content

Commit

Permalink
Update VSCode extension
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Feb 1, 2025
1 parent 3f95087 commit fb8325c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
Binary file not shown.
2 changes: 1 addition & 1 deletion tools/vscode-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "datastar-vscode",
"version": "1.0.0",
"version": "1.0.1",
"displayName": "Datastar",
"description": "Adds autocomplete for Datastar to Visual Studio Code.",
"author": "Ben Croker",
Expand Down
11 changes: 11 additions & 0 deletions tools/vscode-extension/src/data-attributes.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,17 @@
}
]
},
"data-on-interval": {
"prefix": "data-on-interval",
"body": "data-on-interval=\"${1:expression}\"",
"description": "Executes an expression at a regular interval.",
"references": [
{
"name": "Documentation",
"url": "https://data-star.dev/reference/attribute_plugins#data-on"
}
]
},
"data-on-keydown": {
"prefix": "data-on-keydown",
"body": "data-on-keydown=\"${1:expression}\"",
Expand Down

0 comments on commit fb8325c

Please sign in to comment.