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,228 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 Play 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.1

  • 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