8.16.0.4

9.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.

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.

The Magic Racket extension for Visual Studio Code provide support for running Rhombus programs, but its editor support is currently tied to Racket’s parenthesis-oriented syntax.