Open
Description
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.