microsoft / microsoft/TypeScript
Add "find assignment references"
@gabritto đang làm issue này rồi.
Từ ngày 8/8/2023.
- Ngôn ngữ chính
- Go
- Star
- 111k
- Fork
- 14.3k
- Merge trung bình
- 2 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 132
Mô tả
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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.