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
When using go-to-definition on a variable with multiple definitions, if the VSCode setting editor.gotoLocation.multipleDefinitions is set to "goto", the jumped-to definition is frequently either in a different file or if it is in the same file it's not the closest one. However if editor.gotoLocation.multipleDefinitions is set to "peek" then the selected definition in the peek view is the closest in-file definition. Ideally "goto" should jump to whatever the selected "peek" definition would be which should be the closest same-file definition.
The text was updated successfully, but these errors were encountered:
A much better heuristic for symbol resolution has been released as [email protected] and for vscode in the latest extension 1.24.0. I believe this solves the issue here.
@diminutivesloop Please let me know if it works for you or if you have any feedback to the new version.
When using go-to-definition on a variable with multiple definitions, if the VSCode setting
editor.gotoLocation.multipleDefinitions
is set to "goto", the jumped-to definition is frequently either in a different file or if it is in the same file it's not the closest one. However ifeditor.gotoLocation.multipleDefinitions
is set to "peek" then the selected definition in the peek view is the closest in-file definition. Ideally "goto" should jump to whatever the selected "peek" definition would be which should be the closest same-file definition.The text was updated successfully, but these errors were encountered: