AL XML Documentation installs statistics
By 365 business development · VS Code Marketplace · Other
Generate XML documentation comments for AL source code and create markdown documentation from it.
AL XML Documentation has 95,435 recorded installs on VS Code Marketplace, an increase of 0.7% over the past 30 days, ranking #2457 of 2,515 tracked listings.
Rating: 4.00 / 5 from 5 ratings
About AL XML Documentation
XML Documentation Comments Support for AL language in Visual Studio Code
Generate XML documentation comments for AL source code and create markdown documentation from it.
Usage
Generate context aware XML documentation comments
Note<br>Due to the new
Code documentation commentsfeature released with Microsoft Dynamics 365 Business Central 2020 Release Wave 2 (17) we changed our default behavior to generate XML documentation comments.<br>For additional information please see Setup.
Type /// in AL source code IntelliSense will suggest XML documentation comments, matching the context of your current position in source code.
![Generate context aware XML documentation comments][GenerateXmlDoc]
Inherit XML documentation comments
In case you're implementing an AL interface object you are able to use inherit XML documentation comments. Based on the accessibility of the interface object source code (showMyCode-flag) there are two additional comments available:
- Inherit AL XML Documentation Comment<br>Creates a code reference (
cref) linking to the original XML documentation comment in interface object. <br> ![Link inherit XML documentation comment from interface object][InheritXmlDoc] - AL XML Documentation Interface Comment<br>Copies the original XML documentation comment from the interface object.<br> ![Apply XML documentation comment from interface object][InheritXmlDoc2]
Additional documentation features
In addition to the regular documentation activity you can:
- Add new lines in existing XML Documentation comment section. (
///will automatically added.) - Use Snippets directly inside the XML Documentation comment section.
Code documentation
Sometimes it's useful to describe usage of parameters or procedures by simple example code. AL XML Documentation now supports <code> tags in <param> and <summary> documentations for procedures.
Important<br>Currently only one
<code>-tag per<param>or<summary>is supported.
![Use code-tag in Summary or Parameter description to explain usage][CodeDocumentation]
Additionally you can specify the language by using the lang-attribute in the <code> tag:
/// <summary>
/// ...
/// <code lang="json">
/// {
/// "key": "value"
/// }
/// </code>
/// </summary>
Important<br>If you omit the
lang-attribute, the default value isal.
Generate markdown files from XML documentation comments
The following commands are available to generate documentation files from XML documentation in AL source code:
| Command | Description |
|---|---|
AL DOC: Export documentation as PDF | Create a single PDF file containing all documentations for current project. |
AL DOC: Export documentation | Create markdown documentation files for all AL source code files in current project, including the project documentation file. |
AL DOC: Export documentation for file | Create markdown documentation file for the currently opened AL source code file. |
AL DOC: Delete documentation | Delete documentation files. |
Markdown Documentation Export
The two actions AL DOC: Export documentation and AL DOC: Export documentation for file are creating, based on the XML documentation in AL source code, markdown (md) documentation files. Using the DocumentationExportSchema setting you can specify how the documentation files are structured. You are able to decide between:
- Project File + Object File
- Project File + Object File + Procedure File
Schema: Project File + Object File
Using the Project File + Object File schema the export creates a single markdown file (index.md) in the root directory for documentation (see DocumentationExportPath setting) containing app manifest (app.json) information and a list of the containing objects, including the object documentation.
Additionally each AL object will result in a markdown file, named by the AL object name, containing the AL object documentation, object properties and all procedures / triggers including documentation.
Schema: Project File + Object File + Procedure File
Using the Project File + Object File + Procedure File schema the export creates a single markdown file (index.md) in the root directory for documentation (see DocumentationExportPath setting) containing app manifest (app.json) information and a list of the containing objects, including the object documentation.
Additionally each AL object will result in a directory, named by the AL object name, containing a index file (<Object Name>\index.md). The index file does contain the AL object documentation, object properties and a list of all procedures / triggers.
Each procedure / trigger does result in a single markdown file, named by the procedure/trigger name, which contains the procedure documentation.
PDF Documentation Export
Introduced with version 1.1.0 there is the new action AL DOC: Export documentation as PDF available. The PDF export is based on the markdown export and creates a single PDF file from the created markdown. It uses Marked to convert markdown to html and Puppeteer (headless Chromium) to further convert the html to pdf. It also uses highlight.js for code highlighting.
The PDF documentation allows custom stylesheet (css) by referring to a CSS file in the PDFDocumentationExportCSS setting. Please see Puppeteer Docs for further information.…
Description from the VS Code Marketplace listing.
- AL
- Business Central
- Markdown
- snippet
- xml
- XML Documentation
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar VS Code Marketplace Other plugins
All 20 AL XML Documentation alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=365businessdevelopment.bdev-al-xml-doc. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.