Veyra Env icon
NEW · VEYRA ORIGINAL · FOR VS CODE

Veyra Env

Never ship a missing or leaked env variable again.

Warnings when your code reads a variable .env doesn't set, autocomplete for process.env, secrets hidden on screen, a .gitignore guard, and .env.example kept in sync. Free, with nothing to set up.

flightcoders.veyra-env · v1.0.0 · Free · MIT · Windows, macOS, Linux

process.env.STRIPE_SECRET_KEY underlined as not set in .env, with a quick fix, and autocomplete after process.env.
FEATURES

Everything about .env files, handled.

Missing-variable warnings

Code that reads a variable no .env file sets is underlined as you type, with a quick fix that adds it to .env.

Autocomplete and hover

Every name after process.env., os.getenv(" and more, with the file that sets it. Hover for values, F12 to jump to them.

Secrets hidden on screen

Passwords, tokens and keys show as dots until you put the cursor on their line. Share your screen without leaking a key.

A .gitignore guard

A warning when an env file isn’t ignored, an error when it’s already committed, and one-click fixes for both.

.env.example in sync

Adds new variable names to the example, never their values, with the comment above each one.

Compare side by side

Every variable in every env file in one table, with missing, empty and different values marked.

.env checks

Duplicate keys, unclosed quotes, spaces around =, values with spaces and invalid names, with quick fixes and syntax colours.

Ten languages

JavaScript, TypeScript, Python, Go, Ruby, PHP, Rust, Java, Kotlin and C#, plus Vite, Next.js, Bun and Deno styles.

Private

It reads files and asks git, and that’s all. No account, no telemetry, nothing sent anywhere.

A .env file with secret values shown as dots and public values visible
KEEP SECRETS OUT OF GIT

The mistakes that leak keys, caught early.

  • Not in .gitignore? A warning, and one click adds it.
  • Already committed? An error, and one click stops tracking it while keeping the file on your disk.
  • .env.example out of date? One click adds the new names, never the values.
  • Uses git itself, so every .gitignore rule works, in every folder.
.envDATABASE_URL=post••••••••
STRIPE_SECRET_KEY=sk_l••••••••
PORT=3000
# hidden until the cursor is on the line
Problems: an env file already committed to git, one not in .gitignore, a duplicate key and .env.example out of sync, each with a quick fix
The Compare panel with .env, .env.production and .env.example side by side, and missing, different and empty variables marked
INSTALL

Ready in a minute.

  1. Download the .vsix (75 KB).
  2. In VS Code, press Ctrl+Shift+P and run Extensions: Install from VSIX…, then choose the file.
  3. Open a project with a .env file. There's nothing to set up.

Try it: type process.env. in a JavaScript file. Coming to the Visual Studio Marketplace soon.

Command PaletteEnv: Compare Env Files
Env: Update .env.example
Env: Show or Hide Values
Env: Create .env
In code: Ctrl+. to add a missing variable
FAQ

Questions

Is Veyra Env free?

Yes. It is free and MIT licensed, with no account and no telemetry.

Does hiding values change my .env file?

No. Values are hidden only on screen, in the editor, autocomplete, hovers and the sidebar. The file on disk is unchanged, and putting the cursor on a line shows its value.

How does it know what is a secret?

From the name (like _SECRET, _TOKEN, _PASSWORD or API_KEY) and from the value (like sk_live_, ghp_, AKIA, JWTs, private keys and URLs with a password). Public values such as NEXT_PUBLIC_ stay visible. You can hide every value, or none, in the settings.

What if a variable is set on my host, not in .env?

Variables set by the system or platform, like NODE_ENV, PATH, CI and VERCEL_ENV, are never reported. For your own, use the quick fix "Never report", or list them in the veyraEnv.ignore setting.

Does it work in a monorepo?

Yes. Each code file is checked against the .env files in its own folder and the folders above it.

More for VS Code: Veyra Container Studio for Docker, Veyra MCP Studio, Veyra API Client and Veyra npm IntelliSense.

Made by the Veyra team.

Veyra Studio is a fast, free code editor with Live Server, Python debugging and Veyra AI built in.

Download VeyraView on GitHub