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

StewBeet

Alexandre COLLIGNON

|
1 install
| (1) | Free
Syntax highlighting for mcfunction strings inside StewBeet write_* calls in Python files, with configurable block decorations.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

StewBeet mcfunction Syntax

Syntax highlighting and block decorations for mcfunction code embedded inside StewBeet write_* Python calls.


Configuration

All settings are under StewBeet.* in your settings.json:

Setting Default Description
enableBlockDecorations true Toggle block decorations on/off
backgroundColor rgba(80,40,0,0.15) Background fill color
borderColor rgba(200,120,30,0.30) Border color
borderWidth "2px" Border thickness

Example customization:

// settings.json - example with a greenish theme and thinner borders
"StewBeet.backgroundColor": "rgba(0,60,30,0.15)",
"StewBeet.borderColor": "rgba(80,200,100,0.40)",
"StewBeet.borderWidth": "1px"

Comparison without and with the extension

Comparison gif

Features

Syntax highlighting

Triple-quoted and single-line strings passed to the following functions are highlighted as mcfunction:

Function Content argument
write_function(path, content, ...) 2nd
write_versioned_function(path, content, ...) 2nd
write_scheduled_function(duration, content, ...) 2nd
write_load_file(content, ...) 1st
write_unload_file(content, ...) 1st
write_tick_file(content, ...) 1st

All string forms are supported: """...""", '''...''', "...", '...', and their f-string variants.
Python interpolations ({variable}) inside f-strings are parsed correctly and never mistaken for mcfunction syntax.

Block decorations

Multi-line strings are wrapped in a unified colored rectangle. Single-line strings get an inline border that starts exactly at the quote character.

Grammar

mcfunction grammar from MinecraftCommands/syntax-mcfunction, bundled via StewBeet.

Installation

From the marketplace: search StewBeet in the Extensions panel.

From a .vsix file:

code --install-extension stewbeet-1.0.0.vsix

Or: Extensions -> ... -> Install from VSIX...

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