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
202 stars 28 forks source link

Is pollen within the scope of this project? #43

Closed matms closed 3 years ago

matms commented 3 years ago

Hello,

I saw issue #16 and I seem to be having a similar problem, though possibly not exactly the same problem.

When I write #lang pollen as the first line, I get errors popping up every time I edit the file.

Specifically, it reports: Caught exn in request "textDocument/documentSymbol" application: not a procedure; expected a procedure that can be applied to arguments given: #<void>

The context is text-document.rkt:192:0: get-symbols text-document.rkt:374:0: document-symbol [...]

Is this a problem on my end, or is pollen not intended to be supported by this extension? I'm guessing this is an issue with the language server, but I'm not sure if I should open an issue there instead, since maybe pollen isn't withing the scope of either project.

Eugleo commented 3 years ago

Better ask over at the LSP repo. I think Pollen would need special treatment to work fully, which maybe indeed is beyond the current scope of the LSP, but throwing errors like this certainly isn't ok.

Runi-c commented 3 years ago

This should be fixed now if you run raco pkg update racket-langserver.

Eugleo commented 3 years ago

Closing this issue, please reopen if the issue persists.