Orvyn for VS Code
Colours, snippets and file icons for Orvyn — one language for web, iPhone and Android.
saved state cart = []
screen Shop {
Column gap: 16, padding: 24 {
Heading "My Shop"
Button "Add", bg: black, color: white, onTap: cart.add("milk")
Text "{len(cart)} items in your cart"
}
}
Features
Syntax colours for elements (Column, Text, Button…), keywords, styles, strings and {values} inside text
Snippets — type the word and press Tab:
| Type |
You get |
screen |
a new screen |
component |
a reusable component |
state |
a value that changes |
button |
a styled button |
input |
a text field bound to state |
for / if |
loops and conditions |
fetch |
load data from the internet |
File icon for .orv files
Auto-closing brackets, comment toggling (Cmd+/) and indentation
Get Orvyn
npm install -g orvyn-lang
orvyn new my-app
cd my-app
orvyn dev # web
orvyn ios # iPhone simulator
More: orvyn-lang on npm
| |