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