Relm4 Snippets for VSCode

January 23, 2023 ยท View on GitHub

This extension for Visual Studio Code adds snippets for Relm4.

Usage

Usage

SyntaxDescription
relm-componentCreate a new Component widget
relm-async-componentCreate a new AsyncComponent widget
relm-simple-componentCreate a new SimpleComponent widget
relm-simple-async-componentCreate a new SimpleAsyncComponent widget
relm-factoryCreate a new Factory widget
relm-async-factoryCreate a new AsyncFactory widget
relm-templateCreate a new WidgetTemplate widget
relm-workerCreate 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=. .