8.18.0.19

10.1 Editing Rhombus Programs🔗ℹ

The DrRacket programming environment directly supports Rhombus. As long as your program source starts

#lang rhombus

then DrRacket will load an use an editor mode suitable for Rhombus. In particular, the Tab key will cycle though valid indentations of the current line, and Shift-Tab cycles in the opposite order.

Rhombus is supported in Emacs through Racket mode with its racket-hash-lang-mode major mode. As in DrRacket, using racket-hash-lang-mode adapts the editor to the language specified by the initial #lang line.

For Visual Studio Code, the Magic Racket extension supports Rhombus with features including running programs, syntax highlighting, etc.