You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package is a Visual Studio Code extension to recognize and highlight the WebAssembly Interface Type (WIT) Interface Definition Language (IDL). It can also be used as a bundle in TextMate.
3
+

4
4
5
-
The description of the WIT format can be found at: https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md
5
+
_A comprehensive Visual Studio Code extension for WebAssembly Interface Type (WIT) development. This extension provides **syntax highlighting**, **validation**, **formatting**, **language bindings generation**, and **WebAssemblycomponent tooling** for the WIT Interface Definition Language (IDL). Also compatible as a TextMate bundle._
6
6
7
+
**Key Features:**
8
+
- 🎨 Full syntax highlighting and code completion
9
+
- ✅ Real-time syntax validation with detailed error diagnostics
10
+
- 🔧 Automatic code formatting
11
+
- 🌐 Generate bindings for Rust, C, C++, C#, Go, MoonBit, and Markdown
12
+
- 🧩 WebAssembly component detection and WIT extraction
13
+
- 📝 Context menu integration for quick access to tools
7
14
8
-
## Features
15
+
The description of the WIT format can be found at: https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md
9
16
10
-

17
+
## Features
11
18
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.
17
-
-**WIT Syntax Checking**: Validate WIT files for common syntax errors and provide diagnostics.
19
+
This extension provides comprehensive support for WebAssembly Interface Type (WIT) files and WebAssembly components:
18
20
19
-
### Syntax Validation and Error Display
21
+
### Language Support
22
+
-**Syntax Highlighting**: Full TextMate grammar for WIT files with proper scoping
23
+
-**Code Snippets**: Pre-built snippets for worlds, interfaces, and common patterns
24
+
-**Markdown in Comments**: Syntax highlighting for markdown within WIT comments
25
+
-**Code Completion**: Context-aware autocomplete for WIT keywords and constructs
20
26
21
-
The extension provides comprehensive WIT syntax validation with error display in VS Code's PROBLEMS pane:
27
+
### Validation and Diagnostics
22
28
23
29
#### Automatic Validation
24
30
-**On File Save**: Automatically validates WIT files when saved
25
31
-**On File Open**: Validates WIT files when opened in the editor
26
-
-**Real-time Feedback**: Errors appear immediately in the PROBLEMS pane
32
+
-**Real-time Feedback**: Errors appear immediately in VS Code's PROBLEMS pane
33
+
-**Workspace Validation**: Validate all WIT files across your entire workspace
0 commit comments