Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>env-lensNew to Visual Studio Code? Get it now.
env-lens

env-lens

mohankumarkadiri

|
4 installs
| (1) | Free
Inline preview of .env variables when hovered over process.env.* variables
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

env-lens

A lightweight VS Code extension that provides inline hover previews for environment variables used via process.env.*.

Features

  • Hover over process.env.VAR_NAME to see the value of VAR_NAME from your .env file.
  • Automatically loads variables from a .env file in your workspace root.
  • Works with JavaScript projects (Node.js, frontend, backend).

Examples:

Variable is defined in .env

Defined Example

Variable is not defined in .env

Undefined Example

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft