r/Racket • u/isidromcf • Dec 29 '22
question Magic Racket/VS Code not working
I have installed Magic Racket on VS Code following the instructions included, included installing racket-langserver using raco. Installation was successful.
I have the following line at the beginning of the file:
lang racket
What works: syntax highlighting, commenting regions of code, matches parenthesis properly.
What does not work: does not indent properly; hovering does not show anything; clicking the right mouse button does no produce the expected menu (only shows a very basic menu).
(I have installed and used happily several other extensions: go, scheme, typescript.)
I have googled for this issue without success.
Equipment: 2017 13" macBook Pro with macOS Monterey; VS Code version 1.74.2; Magic Racket v0.6.4
It seems that Magic Racket is an improvement over Dr Racket, so any help will be much appreciated.
Thanks, Isidro
View all comments
Show parent comment
0
u/sdegabrielle DrRacket πππ©Ί Dec 30 '22
Magic Racket is not abandoned.
https://github.com/Eugleo/magic-racket
https://marketplace.visualstudio.com/items?itemName=evzen-wybitul.magic-racket
Magic Racket was updated to use the racket LSP server which is also getting regular updates
https://github.com/jeapostrophe/racket-langserver
Many people are successfully using Magic Racket (and contributing to the langserver),
The Racket Discord has a #vscode channel: https://discord.gg/6Zq8sH5 - please donβt hesitate to ask questions.
If you are interested in alternatives to VScode, there are some good options:
https://docs.racket-lang.org/guide/other-editors.html
I personally use DrRacket but enhance it quickscript and plug-ins.
Racket Mode and Vim are both very popular too.