KeyPulse for VS Code
See which environments have the configuration keys your code uses, find the ones that are missing,
and copy values from KeyPulse, without the values ever entering your editor.
What it does
- Missing keys are underlined.
process.env.STRIPE_KEY used in code but not set in Prod?
You get a warning: STRIPE_KEY is missing in Prod. Keys not in KeyPulse at all get a hint.
- Hover a key to see the environments that have it; click one to copy its value.
KeyPulse copies it and clears the clipboard after the usual time. Protected environments
(like Prod) ask you to confirm in KeyPulse.
- Write to .env (
KeyPulse: Write to .env…, or from search): a whole environment or chosen
entries, e.g. a database with its host, port, name, user and password, in one go. KeyPulse asks
you to confirm and writes the file itself (names already there are updated, new ones added, other
lines kept). If the file is not ignored by git, you are offered to add it to .gitignore first.
- Autocomplete in
.env files: type a name (e.g. mydb_) and pick a KeyPulse key: it inserts
mydb_HOST=localhost; "mydb (all fields)" inserts every line of a database or login at once.
Values come from the environment shown in the status bar (click it to change; Dev by default).
- Autocomplete in other files (from the same environment):
- Code: after
process.env., os.environ[", os.Getenv(", env::var(",
System.getenv(", Configuration["… you get the key names, with the environments that have
each one. Only names, never values.
- docker-compose (
environment:): DB_HOST: ${DB_HOST}, a whole database at once, or
DATABASE_URL: ${mydb_URL}. These are references; the values stay in .env.
- appsettings.json:
"mydb": "Server=…;Database=…;User ID=…" in ConnectionStrings. The
password goes in only when the file is ignored by git and values are allowed; otherwise use
dotnet user-secrets.
- Spring Boot
application.properties / .yml: spring.datasource.url, username, and
password=${mydb_PASSWORD} (read from the environment).
- .env, framework names: "mydb (Laravel names)" gives
DB_HOST, DB_DATABASE…, and
"mydb (Spring Boot names)" gives SPRING_DATASOURCE_URL…
- Insert as code (
KeyPulse: Insert as code…, or right-click): a Key-Value array, List, JSON or
Plain entry at the cursor, in the file's language, exactly as KeyPulse → Export makes it:
$country = [1 => 'india', …]; in PHP, a dict in Python, a Map in Java, and so on (PHP,
Python, JavaScript, TypeScript, Java, C#, Go, Ruby, JSON, YAML). Secrets, databases, logins
and certificates are never inserted as code.
- Insert as reference (
KeyPulse: Insert as reference…): code that reads the variable when
the program runs, for any entry, secrets included: json_decode(getenv('COUNTRY'), true),
os.environ["MAIN_DB_PASSWORD"], JSON.parse(process.env.COUNTRY ?? "null")… Use it for values
that differ between environments.
- Permissions, chosen once when you approve VS Code in KeyPulse: use values without asking
(copy, write .env, autocomplete) and also from protected environments. Whatever is not allowed
asks each time (autocomplete then fills in names only). Change it in KeyPulse → Settings → Code
editors.
- Search keys (
Ctrl+Alt+K, Cmd+Alt+K on macOS): insert a key name, or copy a value.
- Status bar: the KeyPulse project for this folder, or "locked".
It recognises JavaScript/TypeScript (process.env.X, import.meta.env.X), Python, Go, Rust,
Java, C#/.NET (Configuration["Section:Key"]), PHP, Ruby, shell scripts, YAML/Docker/CI files
(${X}) and .env files.
Privacy
The extension talks only to the KeyPulse app on your computer (127.0.0.1). Once you approve it,
it can see your projects, environments and key names, and which environments have each key.
It never receives values. Remove it any time in KeyPulse → Settings → General → Code editors.
Getting started
- Install and unlock KeyPulse (works on every plan, including Free).
- In VS Code: KeyPulse: Connect → approve in KeyPulse.
- KeyPulse: Choose project for this folder (picked for you if a project has the folder's name).
Settings
| Setting |
|
keypulse.project |
Project for this folder (otherwise chosen once and remembered) |
keypulse.checkFiles |
Underline missing keys (default on) |
keypulse.ignoreMissingIn |
Environments not to warn about, e.g. ["UAT"] |
keypulse.dataDir |
KeyPulse data folder, if not the default |
© 2026 Theekshitha Labs
| |