-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
Description
Environment
- OS: Ubuntu
- OS Version 22.04
- VS Code Version 1.81.0
- Racket version 8.6
- Racket Langserver checksum 1325a43ff1962a66ce0e26901fa8c0e47fe708f7
- Magic Racket version 0.6.6
- IRacket kernel checksum 9af0e87d61565a9ecb41119c481e7e36c0c5287d
Steps to reproduce
- Set "Magic Racket" as default formatter for Racket
- Open .ipynb file
- Create a code cell with cell language set to "Racket"
- Try to format with the "Format Cell" command
Expected
Magic Racket formats the cell.
Actual
VS Code error message:
Extension 'Magic Racket' is configured as formatter but it cannot format 'Racket'-files
Additional context
-
"Format Document With..." command inside .ipynb files reveals that Magic Racket is NOT present in the list of possible formatters.
Same command inside .rkt files correctly displays Magic Racket. -
Same scenario with
racket-fmtworks correctly out of the box, so probably not complicated. -
Recording: