Magic racket works well when I first use it. But after I close the file and then open a workspace, the autocomplete stop working. Even if I reload/close VSCode and then reopen the same file I opened first time, the problem still exists.
I can start the LSP without any error message by this command (which is as same as I set in VSCode's settings file):
racket --lib racket-langserver
And when I open a rkt file, I could see there is a LSP process running by ps aux.
The first file I have opened:
#lang r5rs
(define (f x)
(if (> x 0)
x
(- x)))
(define (g x)
(* x x))
Environment
racket -v
raco pkg show --full-checksum racket-langserver
Error message
Additional context
Magic racket works well when I first use it. But after I close the file and then open a workspace, the autocomplete stop working. Even if I reload/close VSCode and then reopen the same file I opened first time, the problem still exists.
I can start the LSP without any error message by this command (which is as same as I set in VSCode's settings file):
And when I open a rkt file, I could see there is a LSP process running by
ps aux
.The first file I have opened:
The second file: