Editor support
VS Code, Cursor, Windsurf, VSCodium
The Romit extension adds syntax highlighting, snippets, a file icon, and Romit’s indentation rules (2 spaces, no tabs) for .rmt files.
-
Download
romit-<version>.vsixfrom the latest release. -
Install it:
code --install-extension romit-0.2.0.vsixIn Cursor use
cursor --install-extension …. You can also use the Extensions view: ⋯ → Install from VSIX….
Type app and press Tab to start a new app. Other snippets: screen, state, button, list, foreach, if, field, toggle, picker, tabs, sidebar, action, fn, spec.
The source is in editors/vscode.
Other editors
The grammar is a standard TextMate grammar (romit.tmLanguage.json). Sublime Text, Zed, Nova, and JetBrains IDEs (through the TextMate Bundles plugin) can load it. Set your editor to indent with 2 spaces and never insert tabs.