Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>DMOD Resource Language SupportNew to Visual Studio Code? Get it now.
DMOD Resource Language Support

DMOD Resource Language Support

Choco Technologies DMOD

| (0) | Free
Syntax highlighting for DMOD Resource (.dmr) files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DMOD Resource Language Support

This extension provides syntax highlighting for DMOD Resource (.dmr) files.

Features

  • Syntax highlighting for .dmr files
  • Comment support (# for line comments)
  • Variable highlighting (${VAR_NAME})
  • Special variable support (${destination}, ${module})

DMR File Format

DMOD Resource files (.dmr) describe what resources should be installed from a zip package and where they should be placed.

Syntax

# Comments start with #
key=source_path => destination_path

Environment Variables

Variables can be substituted using ${VAR_NAME} syntax:

  • ${destination} - Installation destination path
  • ${module} - Module name
  • ${DMOD_DMF_DIR} - DMF directory from environment
  • Any other environment variable

Example

# Install the main module file
dmf=./module.dmf => ${DMOD_DMF_DIR}/${module}.dmf

# Install dependencies file
dmd=./module.dmd => ${destination}/${module}.dmd

# Install documentation
docs=./module/docs => ${destination}/${module}/docs

# Install headers
inc=./module/inc => ${destination}/${module}/inc

# Install license
license=./LICENSE => ${destination}/${module}/LICENSE

Usage with dmf-get

The dmf-get tool automatically looks for module.dmr files in zip packages and installs resources according to the mappings.

Use --mini flag to install only dmf/dmfc files and skip other resources.

License

See the main DMOD repository for license information.

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