Skip to content

CUE language support for Visual Studio Code

License

cue-lang/vscode-cue

Repository files navigation

CUE for Visual Studio Code

The official VS Code CUE extension provides rich language support for the CUE language through syntax highlighting and language server (LSP) integration.

What is CUE?

CUE makes it easy to validate data, write schemas, and ensure configurations align with policies.

CUE works with a wide range of tools and formats that you're already using such as Go, JSON, YAML, OpenAPI, and JSON Schema.

For more information and documentation, including tutorials and guides, see cuelang.org.

Quick Start

  1. Make sure you have CUE installed on the computer that's running VS Code. We recommend installing the latest version.

  2. Install the VS Code CUE extension.

  3. Open any CUE file to automatically activate the extension. The CUE status bar appears in the bottom right corner of the window and displays your CUE version. The ⚡ sign next to the CUE version indicates the language server is running, and you are ready to go.

  4. Use the Command Palette, Shift+Command+P (Mac) / Ctrl+Shift+P (Windows/Linux), to run CUE-specific commands. Find them through their common CUE: prefix.

Feedback

We welcome feedback on your experience with the extension. Please file bug reports and share ideas via issues and discussions in the main CUE repository.

Credits

This project was started by betawaffle who graciously permitted that it be moved to be part of the CUE project.

Contributing

See Contributing.

About

CUE language support for Visual Studio Code

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5