VS Code Extension

Official extension for schema-aware editing, autocomplete, and validation of .envx configuration files in VS Code.

VS Code Extension · First-class editor support for .envx

The official Typenv extension for Visual Studio Code adds intelligent editing features to your .envx files.
It enables schema-aware autocomplete, hover documentation, and real-time validation — directly in your editor.

→ Install from VS Code Marketplace


Key Features

Autocomplete from schema

When typing > on a new line, all defined schema keys will be suggested.
This provides fast authoring and reduces errors caused by typos.

> API_URL
> PORT
> DATABASE_NAME

Schema-based validation

Errors and warnings are surfaced live as you type.
The extension detects:

  • Missing or incorrect types
  • Enum values used without a declared enum
  • Required keys missing an assignment or default
  • Deprecated keys still in use

Hover information

Hovering over an environment variable or schema block shows inline documentation — including type, description, default value, and constraints.

Multi-line descriptions are fully supported using triple quotes:

[API_URL]
type = "url"
description = """Environment-aware base URL for the application API."""

Usage

  1. Install the extension
  2. Open or create a .envx file
  3. Define your schema at the bottom using standard .envx syntax:
[PORT]
type = "number"
required = true
  1. In the assignment section, type > to get suggestions:
> PORT
> API_URL
  1. Write your variable assignments:
PORT = 3000
API_URL = "https://api.example.com"

Descriptions, type checking, and hover docs will now be available as you write.


Marketplace

Typenv for VS Code