microsoft / microsoft/TypeScript-Sublime-Plugin
Find all references highlights all instances of symbol text
@steveluc đang làm issue này rồi.
Từ ngày 16/4/2015.
- Ngôn ngữ chính
- JavaScript
- Star
- 1.7k
- Fork
- 236
- Merge trung bình
- 21 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
Find all references should only highlight the symbol, not all instances of the symbol text.
Steps to reproduce:
- Copy this text into a new .ts file:
class Foo {
public method(method: any) {
}
public test() {
this.method(null);
}
}
- Put the cursor on 'method' and press ctrl +t, ctrl + r.
Expected: There is a reference to the method declaration, and the symbol 'method' is underlined.
Actual: All instances of the text 'method' are highlighted in the reference. So in
D:/async/experimental/test.ts:
2: public method(method: any) {
All 'method' strings are underlined. Only the first should be underlined.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
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á.