DMOD manifest files (.dmm) define package modules with the following syntax:
# This is a comment
# Module with version
mymodule@1.0 https://registry.example.com/modules/mymodule.dmf
# Module without version (version provided at download time)
dmffs https://github.com/example/releases/download/v<version>/dmffs-<arch_name>.zip
# Include another manifest
$include https://registry.example.com/additional-manifest.dmm
# Local file reference
localmodule@2.0 /data/modules/localmodule.dmfc
Variable Placeholders
<tools_name>: Replaced with the tools name (e.g., arch/armv7/cortex-m7)
<arch_name>: Replaced with architecture name (e.g., armv7-cortex-m7)
<version>: Replaced with the requested module version
Installation
From Source
Copy the vscode-dmm directory to your VS Code extensions folder:
Windows: %USERPROFILE%\.vscode\extensions\
macOS/Linux: ~/.vscode/extensions/
Reload VS Code
Package and Install
Install vsce (Visual Studio Code Extension Manager):
npm install -g @vscode/vsce
Package the extension:
cd tools/lib/dmod_manifest/vscode-dmm
vsce package
Install the generated .vsix file:
code --install-extension dmod-manifest-1.0.0.vsix
Usage
Once installed, the extension automatically provides syntax highlighting for all files with the .dmm extension.
License
This extension is part of the DMOD project. See the main repository for license information.