Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>BardicNew to Visual Studio Code? Get it now.
Bardic

Bardic

katelouie

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

Bardic Language Support

Syntax highlighting and code snippets for Bardic interactive fiction files (.bard).

Features

  • Syntax Highlighting for all Bardic constructs:

    • Passage headers with tags
    • Variables and expressions
    • Choices (regular and conditional)
    • Control flow (@if, @for, etc.)
    • Python code blocks with full Python syntax
    • Comments (full-line # and inline //)
    • Directives (@include, @render, @input, @state, @metadata)
    • And more!
  • Code Snippets for rapid development:

    • if - Simple if block
    • iff - Full if/elif/else block
    • for - For loop
    • choice - Regular choice
    • cchoice - Conditional choice

Usage

Simply open any .bard file and enjoy beautiful syntax highlighting!

Type snippet triggers and press Tab to insert code templates with smart tab stops.

About Bardic

Bardic is a Python-first interactive fiction engine for modern web applications.

  • Bardic on PyPI
  • Bardic on GitHub
  • Documentation

Enjoy writing interactive fiction! 🦝✨

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