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
- Install the extension
- Open or create a
.envx
file - Define your schema at the bottom using standard
.envx
syntax:
[PORT]
type = "number"
required = true
- In the assignment section, type
>
to get suggestions:
> PORT
> API_URL
- 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.