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
We need to do something here. Seems busted that we highlight a bunch of use sites, but not the declaration.
That said, this is JavaScript, and in a bunch of cases, we are not going to locate references based on type. There are some heuristics we could use, but its always going to be wrong in some cases. We should decide how broken we are happy to live with, if at all.
This is actually the same with the find all references bug, that getSymbolAtLocation didn't return the declaration at the this.^age= position. This should be fixed also by #6632
From @alexandrudima on January 27, 2016 12:46
Testing #2218
When I hover over
this.age
in theconsole.log
I get to see it is a property of type number, but the assignment in line 2 is not highlighted:Copied from original issue: microsoft/vscode#2438
The text was updated successfully, but these errors were encountered: