Skip to main content

Use Hen in VS Code

The VS Code extension provides a rich authoring experience for .hen files and can launch OpenAPI imports into new collections.

Install from the Marketplace

Install Hen from the VS Code Marketplace

Open the marketplace listing in your browser, or search for Hen in VS Code's Extensions view.

What you get

  • semantic highlighting for core Hen constructs
  • hover help for directives, response-path accessors, and typed schema validation with === in assertions or guards
  • context-aware completions for imports, request references, schema targets, auth or session names, and response roots
  • document links and go-to-definition for fragments and named references
  • continuous import diagnostics, including missing targets and cycles
  • command palette plus explorer or editor-title actions to import OpenAPI JSON and YAML specs through hen import
  • Hen file icons for .hen files