Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Dragon Programming LanguageNew to Visual Studio Code? Get it now.
Dragon Programming Language

Dragon Programming Language

Aavesh Jilani

|
2,251 installs
| (1) | Free
Official support for the Dragon programming language.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Dragon Language Support for VS Code

Welcome to the official Visual Studio Code extension for the Dragon programming language! This extension provides a first-class developer experience for writing, editing, and executing Dragon scripts natively within VS Code.

Features

  • Syntax Highlighting: Beautiful, highly-accurate colorization for all Dragon keywords, built-in functions, variables, operators, and types.
  • IntelliSense: Smart autocompletion for Dragon's core modules (e.g., math, mem, ffi, os, json) and built-in global functions (e.g., showln, len, typeof).
  • Hover Documentation: Hover over built-in functions and modules to see instant inline documentation and usage definitions.
  • Smart Snippets: Type shortcuts like func, class, or for and press Tab to instantly generate boilerplate code structures.
  • Integrated Execution: Click the native Run Button (▶) in the editor title bar, or use the Dragon: Run Script command to instantly execute your .dgn files inside a VS Code terminal.

Requirements

To use the integrated "Run" feature, you must have the Dragon (dragon.exe or dragon binary) installed and added to your system's environment PATH variable.

If the dragon.exe is not in your PATH, the syntax highlighting and IntelliSense will still work perfectly, but the Run button will fail to find the executable.

Release Notes

1.0.4

  • Syntax Highlighting Enhancements: Added robust highlighting for string interpolation (`${...}`), raw strings, scientific notation, compound operators, null coalescing (??), and new keywords (async, await, augment).
  • Advanced IntelliSense: Added auto-complete for all new v1.0.4 standard library modules (crypto, zip), built-ins (format), and a new dedicated category for common methods (e.g., reduce, find, then, catch).
  • Rich Hover Documentation: Overhauled hover tooltips with detailed Markdown descriptions, syntax signatures, and explanations for standard modules and built-in functions.
  • Expanded Snippets: Added quick-insert snippets for Async Functions, Lambdas/Arrow Functions, Type Augmentation, Class Inheritance, Try/Catch blocks, and String Formatting.
  • Editor Experience: Added auto-closing support for backticks (`), native colorized bracket pairs, and #region / #endregion code folding.

1.0.2

  • Added Syntax Highlighting for .dgn files.
  • Added standard library IntelliSense and snippets.
  • Added native run command integration.

Enjoy building with Dragon!

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