Racket
Sublime Text plugin for the Racket programming Language
Installations minus removals
Upgrades
- 11,051 installs
- 13 stars
Links
Versions
2.3.0
(ST4000+)
·
1.0.0
(<ST4000)
·
Sublime Racket
A Sublime Text 4 plugin for the Racket programming language.
Current features include:
- syntax definition and highlighting: every Racket form and literal is scoped
- Rhombus: highlighting for
.rhmfiles, with the build system and REPL - build system: run, test, compile and format from command palette
- symbol indexing:
Goto Symbollists defined functions and structs - comment settings:
Toggle Commentuses;and#| |# - bracket handling: auto-indent after an open bracket, outdent on close
- REPL: open a Racket REPL in Terminus and send a file, selection, definition or s-expression to it from command palette
- documentation lookup: search the Racket docs for the identifier at the cursor from command palette

Installation
Via Package Control: Package Control: Install Package, then choose
Racket.
Recommended setup
- Terminus: required by the REPL commands
- Parinfer: automatic management of parentheses based on code identation
- LSP with racket-langserver: completion, diagnostics, go to definition and hover docs
Install the server with raco pkg install racket-langserver, then register it in Preferences > Package Settings > LSP > Settings:
{
"clients": {
"racket-langserver": {
"enabled": true,
"command": ["racket", "--lib", "racket-langserver"],
"selector": "source.racket, source.rhombus"
}
}
}
racket must be on the PATH Sublime sees.
Features
Detailed information about supported features is in docs/features.md.