Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Orbita (TypeLua & Luax)New to Visual Studio Code? Get it now.
Orbita (TypeLua & Luax)

Orbita (TypeLua & Luax)

k-wrk

| (0) | Free
Syntax highlighting, language configuration, snippets, and ob.toml schema for Orbita (.tyl, .luax, .tylx).
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
Orbita logo

Orbita — TypeLua & Luax

Official language support for Orbita (ob) in VS Code, Antigravity IDE, and Open VSX editors.

Syntax Highlighting • TypeLua (.tyl) • Fullstack JSX (.luax / .tylx) • Snippets • ob.toml Schema

Documentation GitHub MIT License


Features

TypeLua (.tyl) Syntax Highlighting

Full TextMate grammar tailored for Luau gradual typing and Orbita's standard library:

  • Type declarations (type, export type), annotations (: string, : number, T?), and type casts (::)
  • Luau modern syntax: compound assignments (+=, ..=), if ... then ... else ... expressions, continue, and interpolated strings
  • Dedicated highlighting for require("ob:*") native modules and built-in test runner globals (describe, test, expect)

Fullstack .luax & .tylx (JSX in Lua)

Write declarative server-side or compiled UI components with crystal-clear highlighting:

  • Distinct scopes for HTML tags (<section>, <input />) vs. Lua components (<Layout>, <TaskCard />)
  • Fragments (<>...</>), string/boolean/expression attributes (class="card", value={expr}, required)
  • Recursive Lua expressions inside { ... }, including nested JSX conditionals
-- src/server.luax
local http = require("ob:http")

local function Page(props: { title: string })
    return (
        <html lang="en">
            <body>
                <h1>{props.title}</h1>
                <p>Rendered directly in Orbita's Luau VM.</p>
            </body>
        </html>
    )
end

http.serve({ port = 3000 }, function(req)
    return <Page title="Orbita Fullstack" />
end)

Productive Snippets

Prefix Expands to
obcomp Typed .luax functional component
observe ob:http server boilerplate (http.serve)
obdb ob:sqlite database setup & table creation
obtest describe / test / expect test suite
obreq Native stdlib import (require("ob:<module>"))
obtype export type declaration in TypeLua

Smart Language Configuration & ob.toml Schema

  • Auto-closing brackets, quotes, --[[ ... ]] block comments, and smart indentation for Lua/Luau and JSX blocks
  • Built-in JSON Schema (schemas/ob.toml.schema.json) for [package], [dependencies], [scripts], and [embed]

Supported Files

File / Extension Language ID Description
.tyl typelua Orbita TypeLua (gradually typed Luau)
.luax, .tylx luax TypeLua with embedded JSX components
ob.toml toml Orbita project manifest schema

Getting Started with Orbita

Don't have the ob CLI installed yet?

cargo install --git https://github.com/k-wrk/Orbita.git
ob init my-app
cd my-app
ob run src/main.tyl

Explore the full documentation at k-wrk.github.io/Orbita.


Roadmap

  • [x] v0.1 — TextMate grammars (.tyl, .luax, .tylx), language configuration, snippets, and ob.toml schema
  • [ ] v0.2 — JSX auto-closing tags, ob.toml Task Provider, and integrated CLI commands (ob run, ob test, ob build)
  • [ ] v0.3 — Full Language Server (ob lsp) with real-time diagnostics, ob:* autocomplete, hover docs, and go-to-definition

License

Distributed under the MIT License. See LICENSE for more information.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft