https://github.com/relm4/vscode-relm4-snippets
VSCode snippets for Relm4
https://github.com/relm4/vscode-relm4-snippets
Last synced: 5 months ago
JSON representation
VSCode snippets for Relm4
- Host: GitHub
- URL: https://github.com/relm4/vscode-relm4-snippets
- Owner: Relm4
- License: apache-2.0
- Created: 2023-01-23T18:30:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-23T22:17:16.000Z (over 3 years ago)
- Last Synced: 2025-09-18T13:49:57.554Z (9 months ago)
- Size: 1.73 MB
- Stars: 6
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Relm4 Snippets for VSCode
This extension for Visual Studio Code adds snippets for Relm4.

# Usage
| Syntax | Description |
| ----------- | ----------- |
| `relm-component`| Create a new `Component` widget |
| `relm-async-component`| Create a new `AsyncComponent` widget |
| `relm-simple-component`| Create a new `SimpleComponent` widget |
| `relm-simple-async-component`| Create a new `SimpleAsyncComponent` widget |
| `relm-factory`| Create a new `Factory` widget |
| `relm-async-factory`| Create a new `AsyncFactory` widget |
| `relm-template`| Create a new `WidgetTemplate` widget |
| `relm-worker`| Create a new `Worker` structure |
# Dependencies
- nodejs
- npm
## `npm` dependencies
- yo
- generator-code
- @vscode/vsce
# Build
Use the provided scripts.
- Package: `npx vsce package`
- Publish: `npx vsce publish`
- Open in browser: `vscode-test-web --extensionDevelopmentPath=. .`