Skip to content

Commit

Permalink
v0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
checkraisefold committed Sep 10, 2024
1 parent ad38c27 commit 77ce4ad
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<!-- markdownlint-disable MD025 -->
# 0.1.3

- Fixed commas in snippets.
- Shifted around snippet choices to reflect most commonly used ones.

# 0.1.2

- Fixed spacing in snippets.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "blink-vscode",
"displayName": "Blink",
"description": "Syntax highlighting & intellisense for the Blink IDL.",
"version": "0.1.2",
"version": "0.1.3",
"publisher": "checkraisefold",
"repository": "https://github.com/checkraisefold/blink-vscode",
"license": "MIT",
Expand Down
12 changes: 6 additions & 6 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,16 @@ const autocompleteKeys = {

const eventSnippet = [
'event ${1:EventName} {',
`\tFrom: \${2|${Locations.join()}|}`,
`\tType: \${3|${Brand.join()}|}`,
`\tCall: \${4|${Calls.join()}|}`,
`\tPoll: \${5|${Operators.join()}|}`,
`\tFrom: \${2|${Locations.join()}|},`,
`\tType: \${3|${Brand.join()}|},`,
`\tCall: \${4|${Calls.join()}|},`,
`\tPoll: \${5|${Operators.join()}|},`,
'\tData: $0\n}',
].join('\n');
const functionSnippet = [
'function ${1:FuncName} {',
`\tYield: \${2|${YieldTypes.join()}|}`,
`\tReturn: $3`,
`\tYield: \${2|${YieldTypes.join()}|},`,
`\tReturn: $3,`,
'\tData: $0\n}',
].join('\n');

Expand Down

0 comments on commit 77ce4ad

Please sign in to comment.