ADR UtilitiesToolset for create and manage your ADRsADR 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. 🔒 SecurityThis extension implements robust security measures to protect against:
See SECURITY.md for more details about security measures. 📋 ConventionsThis extension manipulates ADR files by a naming conventions, which follows this pattern :
So by default :
✨ FeaturesCreate an ADRRight-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 CodeLensEach 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. Preview ADR TemplateUse the command palette (ADR Template Preview) to preview the content of the currently selected ADR template before creating a new ADR. This helps you understand the structure and content that will be used for your new ADR file. 📋 Requirementsvscode : 1.92.0 or more ⚙️ Extension SettingsadrDirectoryNameTo change the name of ADR folders used by this extension. Default : 'adr'. adrFilePrefixPrefix use in ADR filename, to differenciate ADR files from other MD files. Default : 'adr'. enableCodeLensNavigationEnable CodeLens navigation to ADRs. When set to true, CodeLens will be active immediately and will show clickable links above ADR references in your code. The CodeLens provider is registered for all file types ( Default : true. Note: You can manually enable/disable CodeLens using the command palette commands "ADR Navigation Enable" and "ADR Navigation Disable". currentTemplateTemplate used to fill the created ADR. Possible values :
Default : defaultTemplateFrench. If you select an unknown template name, a warning message will be displayed and the default French template will be used as a fallback. MADR templates follow the MADR 4.0.0 specification, with YAML metadata and a standardized structure. The French version is a faithful translation of the English MADR template, allowing you to document your architectural decisions in your preferred language while remaining compatible with industry standards. customTemplatePathIf you want to use your own ADR template, you can provide a file path in the
This allows you to fully customize the structure and content of your ADRs to fit your team's needs. 🚀 Performance OptimizationsThis extension has been optimized for better performance:
To maximize performance:
🐛 Known IssuesNone 📝 Release NotesSee Changelog |