Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ConfiguruNew to Visual Studio Code? Get it now.
Configuru

Configuru

Ackee

|
35 installs
| (2) | Free
VS Code extension for the Configuru library for automatic config checking and suggestions
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Configuru - VS Code Extension

VS Code extension for the Configuru library.

Setup

Configuru extension by default uses .env.jsonc and src/config.ts file as a reference. If you have different file names, env files are located outside of root folder or you use multiple env files in one .ts file, you need to set file mapping in configuru settings.

Following example shows how to run extension for file src/config-manager.ts using two env files config/development.jsonc and config/stage.jsonc

⚠️ Best practice is to set this config for workspace only

    "configuru.paths": [{
        "loader": "src/config-manager.ts"
        "envs": ["config/development.jsonc", "config/stage.jsonc"]
    }]

Features

Every feature can be enabled/disabled using its configuration key in VSCode settings. All enabled by default.

Suggestions of name variables

🔧 configuru.features.suggestEnvVariables

The extension suggests the names of the variables that are present in the env.jsonc file. Example

Highlighting of invalid variables

🔧 configuru.features.highlightInvalidVariables

If your config.ts file contains a variable that is not present in the env.jsonc file, the extension will underline it as an error. Example

Highlighting of secrets missing a description

🔧 configuru.features.highlightSecretsMissingDescription

If your .env.jsonc file contains a secret key that does not have description provided in a comment, the extension will underline it as a warning. Example

Highlighting of secrets with unsafe default value

🔧 configuru.features.highlightUnsafeDefaultValues

If your config.ts file contains a hidden variable that is not an empty string or is not prefixed and suffixed with double underscores in .env.jsonc, the extension will underline it as a warning. Example

Enjoy!

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