Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Elizabeth Language ExtensionNew to Visual Studio Code? Get it now.
Elizabeth Language Extension

Elizabeth Language Extension

Shinapri

|
1 install
| (1) | Free
Language support for Elizabeth framework.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Elizabeth for VS Code

Official Visual Studio Code language support for the Elizabeth framework.

Elizabeth is a Bun-first full-stack web framework with .liz components, file-based routing, server-side rendering, API routes, scoped styles, and client islands.

This extension adds syntax highlighting, editor support, snippets, and language server features for .liz files.

Features

  • Syntax highlighting for .liz files
  • Elizabeth decorators:
    • @default
    • @public
    • @private
    • @declare
    • @client
  • TypeScript/TSX intelligence inside Elizabeth components
  • JSX/HTML-like tag highlighting
  • Attribute completion such as className, id, onClick
  • Auto-import support from .liz components
  • CSS highlighting inside <style> blocks
  • CSS diagnostics and completion inside style blocks
  • Auto-closing tags
  • Self-closing tag support
  • Elizabeth component snippets

Example

@public
<Counter>
  const [count, setCount] = clientState(0);

  <div className="counter">
    <span>{count}</span>

    <button onClick={() => setCount(count + 1)}>
      Increment
    </button>

    <style>
      .counter {
        display: flex;
        gap: 0.5rem;
      }
    </style>
  </div>
</Counter>

Snippets

Type @ inside a .liz file to get Elizabeth snippets.

Examples:

@default

Expands to:

@default
<HomePage>
  
</HomePage>
@public

Expands to:

@public
<Component>
  
</Component>

@client inserts only the decorator:

@client

Language Server Support

The extension includes an Elizabeth language server powered by Volar and TypeScript language services.

Supported editor features include:

  • TypeScript completions
  • DOM and ESNext globals
  • JSX attribute completions
  • CSS completions in <style> blocks
  • Diagnostics for TypeScript and CSS regions
  • Auto-import suggestions for exported .liz components

Requirements

  • VS Code ^1.90.0
  • The Elizabeth framework
  • Bun is recommended for Elizabeth projects

Recommended Settings

The extension automatically enables linked editing for Elizabeth files:

{
  "[elizabeth]": {
    "editor.linkedEditing": true
  }
}

File Extension

Elizabeth components use the .liz file extension.

src/pages/index.liz
src/components/Counter.liz

Known Limitations

Elizabeth editor support is still evolving.

Some advanced Elizabeth-specific syntax may not be understood exactly like the Elizabeth compiler yet. The language server currently maps .liz files into virtual TSX/CSS documents to provide editor intelligence.

Links

  • Elizabeth repository: https://github.com/lizorigin/elizabeth

License

Apache 2.0

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft