Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>CUE ValidatorNew to Visual Studio Code? Get it now.
CUE Validator

CUE Validator

REX Systems UK

|
1 install
| (0) | Free
Validate YAML, JSON, TOML, and related data files against a local .cue schema.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CUE Validator

Validate the currently open YAML, JSON, TOML, or related data file against the nearest local .cue schema.

Quickstart

npm i

npm run compile

# run local development server with:
cd ~/repos/_rex/cue-validator
code --extensionDevelopmentPath="$PWD"






# publish with:
# registered at: https://marketplace.visualstudio.com/manage
# https://dev.azure.com/eamonn0064/_usersSettings/tokens
# See: https://code.visualstudio.com/api/working-with-extensions/publishing-extension#secure-automated-publishing-to-visual-studio-marketplace
npm install -g @vscode/vsce
# install az cli: https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?view=azure-cli-latest&pivots=apt
az login # follow instructions...
az account get-access-token

PUBLISHER_NAME=rxsystms
vsce login $PUBLISHER_NAME

vsce package
# upload the .vsix file to VS marketplace

vsce publish

Usage

  1. Open a workspace that contains a .cue file in the same directory or a parent directory.
  2. Open a YAML/JSON/TOML file to validate.
  3. Run the command CUE: Validate current file or let the extension validate automatically on save.

The extension looks for the nearest .cue file and runs:

cue vet -c=false <schema>.cue <data-file>

It then highlights any matching problems directly in the active document.

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