Eugleo / magic-racket

The best coding experience for Racket in VS Code
https://marketplace.visualstudio.com/items?itemName=evzen-wybitul.magic-racket
GNU General Public License v3.0
199 stars 29 forks source link

Hover failed #88

Closed ANOLASC closed 1 year ago

ANOLASC commented 1 year ago

Environment

Error message

Caught exn in request "textDocument/codeAction" hash-ref: no value found for key key: 'file:///code/test.rkt context...: xxx\Racket\8.6\pkgs\racket-langserver\text-document.rkt:153:0: code-action xxx\Racket\collects\racket\contract\private\arrow-val-first.rkt:486:18 xxx\Racket\8.6\pkgs\racket-langserver\methods.rkt:26:0: process-message xxx\Racket\collects\racket\contract\private\arrow-val-first.rkt:486:18 xxx\Racket\8.6\pkgs\racket-langserver\main.rkt:54:2: consume

[Error - 21:10:22] Request textDocument/codeAction failed. Message: internal error in method "textDocument/codeAction" Code: -32603

Additional context


If relevant, please enclose a minimal example file which triggers the errors. If you're unable to enclose the file, please do the following instead:

  1. Enable logging in Magic Racket's settings.
  2. Restart VS Code.
  3. Open the problematic file.
  4. Trigger the error.
  5. Copy the whole log from Output > Racket Language Server into some text file and enclose it to your bug report. log.txt
jryans commented 1 year ago

@ANOLASC Thanks for filing this issue a while back. Are you able to share the source file you were working with that triggers this? I think it will be quite a bit easier to diagnose with that.