pherrymason / c3-lsp

Language Server for C3 Language
https://pherrymason.github.io/c3-lsp/
GNU General Public License v3.0
75 stars 10 forks source link

Go to Definition/Declaration broken #56

Closed Hema2-official closed 3 months ago

Hema2-official commented 3 months ago

Describe the bug I'd often like to use CTRL + LMB to jump to the definition of a type, but: image

If I right-click -> Peek -> Peek Definition: image

To Reproduce I used this extension (I doubt that it's the cause, but anyways): image

In any file, be it .c3 or .c3i, CTRL + left-click on any type that's defined somewhere else.

Expected behavior Well, open a tab at the referenced line or jump to that line.

Screenshots everywhere

Desktop (please complete the following information):

Additional context I think that the client simply misinterprets whatever the server sends back. Could it simply be a missing URL decoding step? I think it could.

I hope I brought up something new!

Hema2-official commented 3 months ago

Nevermind. I wasn't on the latest version... I only updated the client somehow. Sorry for bothering.