Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>DataWeave Syntax HighlightingNew to Visual Studio Code? Get it now.
DataWeave Syntax Highlighting

DataWeave Syntax Highlighting

Carlos Felipe Araújo

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

DataWeave Syntax Highlighting

VS Code extension that adds syntax highlighting to MuleSoft DataWeave (.dwl) files.

Features

  • Recognizes the .dwl extension as the DataWeave language.
  • Highlights:
    • Header directives: %dw, output, input, import, var, fun, type, ns, and the separator ---.
    • MIME types (e.g., application/json).
    • Control keywords: if, else, match, case, do, using, etc.
    • Built-in types: String, Number, Boolean, Object, Array, Date, etc.
    • Built-in functions (map, filter, reduce, groupBy, upper...) and user-defined function calls.
    • Strings (double/single quotes) with interpolation $( ... ) and escapes.
    • Numbers, booleans (true/false), and null.
    • Operators (++, ->, ==, default, as...).
    • Special variables: payload, attributes, vars, etc., and .property selectors.
  • Comments // and /* ... */, auto-closing brackets/quotes.

Installation

  1. Download the latest .vsix file (or package the project using vsce package).
  2. Open VS Code.
  3. Go to the Extensions tab (Cmd + Shift + X on Mac or Ctrl + Shift + X on Windows/Linux).
  4. Click the "three dots" ... menu in the top right corner of the extensions pane.
  5. Select "Install from VSIX...".
  6. Select the downloaded .vsix file.

Done! The extension will be installed and active for all your .dwl files.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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