Language support for DAMS v0.5: deterministic data expressions that can be validated and baked into a final, standalone document.
Features
Syntax highlighting for .dams files.
Live diagnostics with DAMS v0.5 machine codes: syntax, imports, type conversion, duplicate keys, invalid composition, division by zero and cyclic dependencies.
Expressions including exponent decimals, comparisons, strict equality, short-circuit logic and Unicode-safe string indexing/slicing.
Local @import support for validation, Baked preview and Bake. Relative files and file: URIs are resolved from the importing file; unsupported remote URI schemes are reported explicitly.
Inlay hints for inferred types and computed scalar values in Raw documents.
Completion, Go to Definition, Rename and Document Symbols, including string-key paths such as Map["Key"].Field.
Preview Baked Result that updates after each successful evaluation and keeps the last valid output while editing an invalid expression.
Bake Current File to save a standalone .baked.dams file.
Interactive 3D dependency graph with click-to-navigate nodes.
Editor actions
When an original .dams file is active, the editor title bar provides:
Preview Baked Result
Bake Current File
Show Dependency Graph
The same actions are available through the Command Palette under DAMS:.
Raw and Baked documents
A document is Raw while it contains annotations, imports, references or expressions. A document with only final literals and collections is Baked. Baked files avoid editor-only type and computed-value hints.
File icon
DAMS contributes a default language icon for .dams files. Its display depends on the selected VS Code file icon theme: a theme may override language or extension icons. The extension icon is included for the Extensions view and Marketplace.