Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>TOGE2 Language Highlight & Syntax for VScodeNew to Visual Studio Code? Get it now.
TOGE2 Language Highlight & Syntax for VScode

TOGE2 Language Highlight & Syntax for VScode

Snizzle

| (0) | Free
Syntax highlighting and file icon support for TOGE (Tree Option Game Encoding) files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TOGE Language Support

Syntax highlighting and file icon support for TOGE (Tree Option Game Encoding) language in VS Code.

Features

  • Syntax Highlighting - Color-coded syntax for TOGE language elements
  • Custom File Icon - Distinctive icon for .toge files in the file explorer
  • Language Support - Full language configuration for TOGE files

Installation

  1. Copy this extension to your VS Code extensions folder
  2. Reload VS Code
  3. Open any .toge file to see syntax highlighting

TOGE Syntax

TOGE is a tree-based game encoding language for defining branching narratives and interactive choice systems.

Basic Structure

'Header comment'
setTreeDefault = ["type": "text"]

random {
    1["type": "input"]: Success! You found something
        "Yes"
            You chose yes.
        "No"
            You chose no.
}

Supported Elements

  • Comments: // line comments and /* block comments */
  • Type Modifiers: ["type": "text"], ["type": "input"]
  • Strings: Double-quoted text content
  • Node IDs: Numeric identifiers for tree nodes
  • Tree Structures: Nested hierarchical organization with indentation

License

MIT

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