"Find All References" unnecessarily requires a word position #88413
Labels
bug
Issue identified by VS Code Team member as probable bug
help wanted
Issues identified as good community contribution opportunities
references-viewlet
verified
Verification succeeded
Milestone
If I invoke "find refrences" when the cursor is on a puncuation character, the editor seems to bypass the server and says "no results" without making any requests:
However, there are valid cases to invoke "find usages" on a punctuation character:
+
is a pretty natural thing to do(
indata class Point(val x, val y)
will search for constructor calls (this is the feature we are trying to mimic in rust-analyzer)I've tested and in Emacs I can ref-search punctuation. It's interesting that goto definition does not try to check if thing at point is an identifier.
The text was updated successfully, but these errors were encountered: