Racket Genius is a toolkit for developing in Racket and Scheme directly inside VS Code. Increase your productivity with "ghost" type annotations, quick execution, and intelligent navigation tools.
Main features
Ghost type annotations — Display variable and function types directly in the code without clutter: Racket Genius interprets standard comments (e.g. ; val:int) and shows light-weight labels next to definitions.
Quick execution — Run the active file with a click or keyboard shortcut; the terminal is named Racket Genius Run for easy discovery.
Intelligent REPL — Start a REPL that automatically imports the open file and allows reloading definitions without restarting the shell (Racket Genius REPL).
Quick file creation — Use the sidebar to create #lang racket or ISL templates with a single click.
Auto indentation system - Cleverly indentate your files using a DrRacket style indentation.
Symbol navigation — Populates the Outline view with define, struct and other symbols for fast navigation.
Snippets — Type def and press Tab to insert a standard function skeleton with correct indentation.
Commands (Command Palette)
Visual command
Command ID
Annotate Types (panel)
racket-genius.openPanel
Run Racket Code (Play)
racket-genius.runFile
Start Racket REPL (Shell)
racket-genius.runRepl
Create File (Sidebar)
racket-genius.createFile
Note: command IDs are kept compatible with the extension manifest (package.json).
Requirements
Racket installed and available in your system PATH (command racket).
VS Code 1.80 or later.
Getting started
Open a .rkt or .scm file in VS Code.
Open the annotation panel with Ctrl+Shift+U or via the Command Palette.
Select and indentate your file with Alt+Shift+I or via the Command Palette.
Use the Play button in the editor to run the file or start the REPL for interactive testing.
Images and suggestions for Marketplace page
Replace media/demo-highlight.png with a real screenshot that shows ghost annotations in the editor (recommended size 1280×720 or similar).
Include at least: the annotation panel, the REPL with the file required, and the Outline view showing symbols.
Support
If you find bugs or want to propose improvements, please open an issue in the repository.