VS Code Extension 🔌

The Sling VS Code extension provides schema validation and language server features for SlingData.io configuration files.

Why Use It

This extension enhances your productivity when working with Sling configuration files by offering:

  • Auto-detection of Sling configuration files (e.g., pipeline.yaml, replication.yaml, spec.yaml).

  • Schema validation to ensure your configurations adhere to the correct structure.

  • Auto-completion for properties, values, and expressions.

  • Hover information providing inline documentation.

  • Diagnostics for identifying errors, warnings, and suggestions in your configs.

These features help you write valid and efficient Sling configurations, reducing errors and speeding up development!

How to Get It

You can get the extension here: https://marketplace.visualstudio.com/items?itemName=sling.sling-vscode

Or simply search Sling in the Extensions Market place panel in VS Code.

Install via Marketplace

If you're using a forked VS Code editor (such as Cursor or VSCodium), you can install directly from the VSIX package (download it here).

Install via VSIX

Working with Pipelines & Hooks

This VSCode extension helps tremendously with developing Sling Hooks & Pipelines. The extension provides:

  • Schema validation for pipeline YAML files

  • Auto-completion for step types, properties, and expression (such as functions)

  • Hover documentation for pipeline steps and variables

This makes authoring and maintaining complex pipelines much easier and error-free. For more on pipelines, see the Pipelines, Hooks and Functions documentation documentation.

Screenshots

Input Suggestions
Function Suggestions

Last updated

Was this helpful?