microsoft / microsoft/TypeScript
Add "find assignment references"
@gabritto is already working on this.
Since Aug 8, 2023.
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 132
Description
Search Terms
find usage reference as LVALUE langauge services assignment read write
Suggestion
Add a language feature that will find a variable/property "x" when assigned a value in the code (or otherwise is used as an LVALUE).
Use Cases
Allows a user to find where a variable/property is set as opposed to defined or read.
Examples
When searching in VSCode, and my cursor is on "name" in
x = myPerson.name
a "find LVAUE references" call would return...
myPerson.name = "Jim";
or
this.name = "Ann";
or
myOtherPerson.name = "Arlo";
but not
class person { name: string; }
or
print(myPerson.name);
or
x = myPerson.name
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.