Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>ADR UtilitiesNew to Visual Studio Code? Get it now.
ADR Utilities

ADR Utilities

Frederic Pouyez

|
116 installs
| (0) | Free
Some tools for manage ADR in your projects
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ADR Utilities

Toolset for create and manage your ADRs

Build states OpenSSF Scorecard adr-utilities:typescript

ADR Utilities is a toolset for create and manage your Architecture Decision Records.

Why another extension ? Because it manages multiple ADR directories (which is essential in huge projects / mono-repository projects / multiple libraries projects) and follows its own rules for naming and managing content.

🔒 Security

This extension implements robust security measures to protect against:

  • Path injection: Strict validation of file paths
  • Regular expression injection: Automatic escaping of special characters
  • Denial of service attacks: Limitation of the number of files and matches
  • Input validation: Sanitization and validation of all user inputs

See SECURITY.md for more details about security measures.

📋 Conventions

This extension manipulates ADR files by a naming conventions, which follows this pattern : {prefix}{shortTitle}_{timestamp}.md

  • prefix : Identifies ADR among all your markdown files. See the adrFilePrefix config.
  • shortTitle : Subject of your ADR. Ex : 'WhyWeUseAPatternForADR'.
  • timestamp : A way to avoid collision among your ADRs. More convenient than an integer.

So by default : adr_WhyWeUseAPatternForADR_20230225.md

✨ Features

Create an ADR

Right-click on the explorer (Create an ADR) or launch it with the command palette (ADR Create).

In the explorer, a new file is created into the current directory if its name matches the ADR directory name. If not, the command searches for an ADR directory in the first child directories. Otherwise, an ADR directory is created.

With the Palette, a directory choosing box is displayed to select an ADR location.

In all cases, you must complete the ADR file name by an input box.

Finally, the ADR file is filled with a template.

Navigate with CodeLens

Each mention of ADR in a text editor (which matches the naming pattern) enables a codelens link to navigate to this ADR.

If the name doesn't match a real ADR, the CodeLens annotation marks it as not navigable.

📋 Requirements

vscode : 1.92.0 or more

⚙️ Extension Settings

adrDirectoryName

To change the name of ADR folders used by this extension.

Default : 'adr'.

adrFilePrefix

Prefix use in ADR filename, to differenciate ADR files from other MD files.

Default : 'adr'.

enableCodeLensNavigation

Enable CodeLens navigation to ADRs.

Default : true.

currentTemplate

Template used to fill the created ADR.

Possible values :

  • 'defaultTemplateFrench' : a custom template created to fill our needs, in French.
  • 'defaultTemplateEnglish' : the same custom template, in English.

Default : defaultTemplateFrench.

🐛 Known Issues

None

📝 Release Notes

See Changelog

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