You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run: raco pkg show --full-checksum racket-langserver
Magic Racket version 0.8.0
Error message
Document highlighting does not work in .rhm files because VS Code does not send textDocument/documentHighlight requests for Rhombus identifiers because its wordPattern is not correct. Hover and Find All References work correctly.
Additional context
Example Code
#lang rhombus
fun fib(n):
if n == 0 || n == 1
| 1
| fib(n - 1) + fib(n - 2)
def x = 10
fib(x)
Move cursor to any identifier should highlight all its references. I did a test on local, change wordPattern can fix it and allow VS Code send document highlight requests.
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:
Enable logging in Magic Racket's settings.
Restart VS Code.
Open the problematic file.
Trigger the error.
Copy the whole log from Output > Racket Language Server into some text file and enclose it to your bug report.
Activity