ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Racket

by 17451k ALL

Sublime Text plugin for the Racket programming Language

Details

  • 2.2.0
    1.0.0
  • github.​com
  • github.​com
  • 5 days ago
  • 3 hours ago
  • 14 years ago

Installs

  • Total 11K
  • Win 4K
  • Mac 4K
  • Linux 3K
Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23
Windows 0 0 0 0 1 2 0 0 2 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 2 1 0 0 0 3 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1
Linux 0 1 0 1 0 0 0 0 1 0 0 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

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
  • build system: run, test, compile and format from command palette
  • symbol indexing: Goto Symbol lists defined functions and structs
  • comment settings: Toggle Comment uses ; 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

Racket source highlighted by this package, using the Monokai Pro Light colour scheme

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"
      }
    }
  }

racket must be on the PATH Sublime sees.

Features

Detailed information about supported features is in docs/features.md.