Skip to content

Commit 36d0ceb

Browse files
fix: missing resource methods (#31)
This will ensure that `resource` methods are proper highlighted (including `constructor`). There are several small improvements to the grammar to improve maintainability as well.
1 parent 71d03f6 commit 36d0ceb

File tree

62 files changed

+5832
-4564
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+5832
-4564
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@ The description of the WIT format can be found at: https://github.com/WebAssembl
77

88
## Features
99

10-
This extension provides basic syntax highlighting of ".wit" files.
10+
![Screenshot](images/screenshot.png)
1111

12-
Additionally, it provides [Snippets](https://code.visualstudio.com/docs/editor/userdefinedsnippets).
12+
This extension provides:
13+
- Basic syntax highlighting of ".wit" files.
14+
- [Snippets](https://code.visualstudio.com/docs/editor/userdefinedsnippets) for worlds and interfaces.
15+
- Basic markdown highlighting in comments.
16+
- Simple list-based autocomplete.
1317

1418
## Installation
1519

images/screenshot.png

118 KB
Loading

snippets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"Add World": {
88
"prefix": "world ",
9-
"body": "world ${1:my-world} {\n import ${2:my-input}: foo.bar\n export ${3:my-output}: func() -> u32\n}",
9+
"body": "world ${1:my-world} {\n import ${2:my-input}: foo\n export ${3:my-output}: func() -> u32\n}",
1010
"description": "Adds a simple world"
1111
}
1212
}

0 commit comments

Comments
 (0)