Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>DistroRun LSPNew to Visual Studio Code? Get it now.
DistroRun LSP

DistroRun LSP

Distrorun

|
3 installs
| (0) | Free
Schema-powered autocompletion and validation for DistroRun YAML configuration files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DistroRun LSP

Schema-powered autocompletion and validation for DistroRun YAML configuration files.

Overview

DistroRun LSP is a Visual Studio Code extension that provides intelligent editing support for DistroRun configuration files. It delivers real-time validation, context-aware autocompletion, and inline documentation by leveraging a JSON Schema through the Red Hat YAML extension.

Features

  • Autocompletion — Context-aware suggestions for configuration keys, values, and enums.
  • Validation — Real-time diagnostics for invalid keys, incorrect types, and missing required fields.
  • Hover Documentation — Inline descriptions and usage examples on hover.

Requirements

  • Visual Studio Code 1.75 or later
  • Red Hat YAML (installed automatically as a dependency)

Configuration Reference

The extension validates the following top-level keys in .yaml and .yml files:

Key Type Required Description
version string Yes Semantic version of the configuration file
name string Yes Name of the DistroRun configuration
distro object Yes Target OS (fedora or alpine) and system profile
packages string[] No Packages to install via the native package manager
users object[] Yes System users, each with a name and password
services object No Services to enable at boot
build object No Build options such as SBOM generation

Example

version: "1.0"
name: my-server

distro:
  base: fedora
  type: server

packages:
  - nginx
  - vim
  - curl

users:
  - name: root
    password: changeme
  - name: charif
    password: securepass

services:
  enable:
    - nginx
    - sshd

build:
  sbom: true

Development

# Install dependencies
npm install

# Compile TypeScript
npm run compile

# Launch the Extension Development Host
# Press F5 in VS Code

License

MIT

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