Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>JetRockets UI AutocompleteNew to Visual Studio Code? Get it now.
JetRockets UI Autocomplete

JetRockets UI Autocomplete

JetRockets UI

|
1 install
| (0) | Free
Autocomplete for JetRockets UI components based on component.yml definitions
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JetRockets UI Autocomplete

VSCode extension that provides intelligent autocomplete for JetRockets UI components based on component.yml definitions.

Features

  • Component autocomplete - Type ui. to see all available components
  • Slot autocomplete - Slots like ui.alert_title are also suggested
  • Props autocomplete - After component name, get suggestions for available props
  • Value autocomplete - Props with predefined values show dropdown (e.g., variant: :default)
  • Hover documentation - Hover over ui.btn to see full documentation
  • Auto-refresh - Changes to component.yml files are detected automatically

Usage

Component Autocomplete

<%= ui.| %>
       ↓
       ┌─────────────────────────────────┐
       │ btn      Button component       │
       │ alert    Display messages       │
       │ card     Card container         │
       │ badge    Status badge           │
       │ icon     Display SVG icons      │
       └─────────────────────────────────┘

Props Autocomplete

<%= ui.btn "Click", | %>
                    ↓
                    ┌──────────────────────────────┐
                    │ variant  Symbol (:default)   │
                    │ size     Symbol (:md)        │
                    │ url      String (nil)        │
                    │ rounded  Boolean (false)     │
                    │ block    Boolean (false)     │
                    └──────────────────────────────┘

Value Autocomplete

<%= ui.btn "Click", variant: :| %>
                              ↓
                              ┌─────────────┐
                              │ default     │
                              │ outline     │
                              │ secondary   │
                              │ danger      │
                              │ ghost       │
                              │ link        │
                              └─────────────┘

Hover Documentation

Hover over any ui.component_name to see:

  • Description
  • Props table with types, defaults, and values
  • Usage example

Configuration

In VSCode settings (settings.json):

{
  "jetrocketsUI.componentsPath": "app/components/ui",
  "jetrocketsUI.helperPrefix": "ui."
}

How It Works

The extension reads component.yml files from your components directory and builds an in-memory index. The YAML structure expected:

name: Button
description: Button component for actions

props:
  - name: variant
    type: Symbol
    default: ":default"
    values:
      - ":default"
      - ":outline"
    description: Visual style

slots:
  - name: btn_icon
    description: Icon slot
    props:
      - name: position
        type: Symbol
        values: [":left", ":right"]

accepts_html_attributes: true

Supported Features

Feature Status
Component names Yes
Slot names (e.g., alert_title) Yes
Props with types Yes
Props with values (enum) Yes
Boolean props Yes
String/Integer props Yes
class prop (when accepts_html_attributes: true) Yes
Hover documentation Yes
File watching Yes

Development

# Install dependencies
npm install

# Run tests
npm test

# Package
vsce package

License

MIT

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