Welcome to the official VS Code extension for ToadCode!
ToadCode is a custom, lightweight, and dynamically typed programming language built from scratch in TypeScript.
This extension brings ToadCode to life in your editor by providing standard, first-class language support.
Features
- Syntax Highlighting: Beautiful and vibrant colorization for all ToadCode keywords (
let,const,fn,for,while,if, etc.), data types (true,false,null), numbers, strings, and operators. - Auto-Closing Brackets: Automatically closes
{}and[]brackets when typing. - Smart Comments: Standard
Ctrl+/shortcut support for toggling//comments. - IntelliSense Snippets: Type any of the following prefixes and hit
Tabfor instant code generation:fn- Auto-completes a function block.for- Auto-completes a standard for-loop.while- Auto-completes a while-loop.if/ifelse- Auto-completes conditional logic blocks.afn- Auto-completes an anonymous arrow function block.toad- Auto-completes thetoad();print function.
Usage
Simply install this extension and save your scripts with the .toad file extension. VS Code will automatically detect the language and apply all features instantly!