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
{{ message }}
Repository navigation
Unrelated code shown when pressing Command over symbol #2653
When pressing Shift+Option over this Icon reference, it shows a snippet of code from the definition, but it seems to include a few lines before (which is unrelated code) that is a bit confusing.
changed the title [-]Unrelated code shown when pressing Shift+Option over symbol[/-][+]Unrelated code shown when pressing Command over symbol[/+]on Jul 28, 2020
Activity
[-]Unrelated code shown when pressing Shift+Option over symbol[/-][+]Unrelated code shown when pressing Command over symbol[/+]DanTup commentedon Jul 28, 2020
This might be because we're not returning one of the data types with the extra ranges on:
https://microsoft.github.io/language-server-protocol/specifications/specification-current/#locationLink
DanTup commentedon Aug 10, 2020
I've got an SDK branch (
lsp-def-code-offset-new) that supplies this, but I've hit two issues:DanTup commentedon Oct 26, 2020
The LSP server side of this is done, but this requires moving to an updated LSP client library that hasn't been published yet:
microsoft/vscode#104369
We could consider using the pre-release version in the meantime.
DanTup commentedon Dec 10, 2020
Using this pre-release package has introduced an issue when using LSP against the server built for v3.16 so this needs to be reverted.
DanTup commentedon Dec 10, 2020
This is re-broken in v3.17.1 to fix #3001, and re-fixed in v3.18.0.
DanTup commentedon Dec 22, 2020
Bumping to v3.19 as this relies on the updated LSP client.