Open ENV for VS CodeValidate, complete and preview environment contracts in Editing contractsOpen ENV checks supported files automatically, including unsaved changes. It underlines errors in the source and reports them in Problems with source Open ENV. No preview panel or YAML extension is required. Checks cover YAML syntax, strict JSON syntax, duplicate keys, unsupported fields,
missing required fields, types, constraints and the OpenENV semantic rules.
For example, Completion suggests fields and fixed values from the bundled specification, accounts for existing fields and the selected variable type, and omits literal fields for sensitive variables. Hover over a field to read its description and requiredness. The initial release supports specification 0.1.0. Extension versions and specification versions are independent. PreviewUse Open ENV: Open Preview to the Side, the editor title button or the Explorer context menu. Shortcut: Cmd+K, V on macOS or Ctrl+K, V on Windows/Linux. The preview shows types, requiredness, defaults, examples, constraints and sensitive/deprecated markers. It shares the editor's current validation result and updates after a 180 ms debounce. The extension reads only the selected contract. It does not read Install and migrateThe extension ID is For local installation from this repository:
Development and verificationRequires Node.js 22+ for builds. From the repository root:
Press F5 to open an Extension Development Host. Alternatively:
The host test installs the actual VSIX into an isolated profile, checks automatic
activation, unsaved edits, diagnostic ranges, completion, hover, theme changes and
multi-document cleanup. It does not modify your normal extensions or settings.
ReleasesPrepare and commit the extension version and its changelog, then run:
This validates the release and atomically pushes Store publication requires the publisher/namespace owner to configure GitHub trusted publishing first. See the repository's release guide for setup and recovery. Local packaging does not prove store publication. |