An open API service indexing awesome lists of open source software.

https://github.com/gordonsmith/vscode-wit

WIT Language Extension for VS Code
https://github.com/gordonsmith/vscode-wit

vscode-extension wasm wit

Last synced: 8 months ago
JSON representation

WIT Language Extension for VS Code

Awesome Lists containing this project

README

          

# WIT IDL for VSCode

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.

The description of the WIT format can be found at: https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md

## Features

![Screenshot](images/screenshot.png)

This extension provides:
- Basic syntax highlighting of ".wit" files.
- [Snippets](https://code.visualstudio.com/docs/editor/userdefinedsnippets) for worlds and interfaces.
- Basic markdown highlighting in comments.
- Simple list-based autocomplete.

## Installation

To install from source, follow these steps:
* Clone the repository: `git clone https://github.com/bytecodealliance/vscode-wit.git && cd vscode-wit`
* Run npm commands to install:
`npm ci && npm run install-plugin`