Skip to content

Commit

Permalink
Update racket-langserver.scrbl
Browse files Browse the repository at this point in the history
  • Loading branch information
spdegabrielle authored and jeapostrophe committed Sep 15, 2024
1 parent f4c9f22 commit f454b04
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions scribblings/racket-langserver.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,22 @@ A Racket runtime is a prerequisite, so before using @tt{racket-langserver}, ensu
is installed. You can install an from the @hyperlink["https://download.racket-lang.org"]{official download page}
or install one from your package manager.

@section{VSCode}

Use the @hyperlink["https://marketplace.visualstudio.com/items?itemName=evzen-wybitul.magic-racket"]{Magic Racket} extension.

@section{Other editors and IDEs}

First, install an LSP runtime for your editor.

Next, install the package via @tt{raco}:

@commandline{raco pkg install racket-langserver}

@margin-note{To update the @tt{racket-langserver} use
@commandline{raco pkg update racket-langserver}}

Once it is installed, you can configure your editor to use a custom LSP client for Racket files (@tt{.rkt}),
and set the command for the custom client to

@commandline{racket -l racket-langserver}

You may need to restart your LSP runtime or your editor for `racket-langserver` to start.
You may need to restart your LSP runtime or your editor for @tt{racket-langserver} to start.

@subsection{VSCode}

Use the @hyperlink["https://marketplace.visualstudio.com/items?itemName=evzen-wybitul.magic-racket"]{Magic Racket} extension.

0 comments on commit f454b04

Please sign in to comment.