Resolve references of local bindings
### Description
It seems that simple local variables don't resolve their references in the `textdocument/references` request. If Sourcekit-LSP doesn't build indices on this level, it's probably reasonable to visit all nodes in the function with a name, and collect each on that resolves to the requested node.
0 条评论