-
-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Labels
Description
Environment
- OS: Linux
- OS Version: Ubuntu 20.04.4
- VS Code Version: 1.70.1
- Racket version: 8.3
- Racket Langserver checksum: a1141f0871a55c036949d0bb0179fddbf86a97cd
- Magic Racket version: 0.6.4
Error message
[2022-08-12 11:02:12.925] [exthost] [error] Error: Header must provide a Content-Length property.
at StreamMessageReader.onData (/home/bpappas/.vscode/extensions/evzen-wybitul.magic-racket-0.6.4/node_modules/vscode-jsonrpc/lib/common/messageReader.js:138:27)
at Socket.<anonymous> (/home/bpappas/.vscode/extensions/evzen-wybitul.magic-racket-0.6.4/node_modules/vscode-jsonrpc/lib/common/messageReader.js:122:18)
at Socket.emit (node:events:390:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at Socket.Readable.push (node:internal/streams/readable:228:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:199:23)
Additional context
Thank you for this extension.
I really like it, but am currently running into the following error.
Magic Racket only seems to work for new files.
When I reopen a .rkt file, Magic Racket stops working.
Steps to reproduce:
- Create a new .rkt file:
#lang racket
'test- Save the file and close VS Code.
- Reopen VS Code.
- Reopen the file (if not already open).
- Try to use Magic Racket features (e.g., auto-complete, auto-format).
When I try to use these features, nothing happens.
When I check output -> extension host, I see the error message listed above.
I am able to "fix" the issue by turning off the language server, closing VS Code, and restarting the language server; however this is not convenient.
Any help would be appreciated, thank you.