Closed mlefebvre1 closed 3 years ago
Thanks for reporting this.
This is one of those case where different clients send position differently. In my coc.nvim client, the position is the position of the character under cursor, but in vscode it seems to be the position of character after the cursor.
I will fix this by looking for the word at the provided position as well as previous position. Hopefully that keeps everybody happy.
Fixed in release 0.3.5
Hi, It seems there is an issue with the go to definition in vscode when a label is fully selected (either by selecting it manually or by double clicking it). If I partially select the label instead (single click on the label or select some characters of the label, but not all of them), then, the go to definition works perfectly.
Here is the output console when the label is fully selected :
When the label is partially selected :
It seems that the response sent back by svlangserver is empty when the label is fully selected.
Setup :