microsoft / microsoft/TypeScript-Sublime-Plugin
Find all references highlights all instances of symbol text
@steveluc arbeitet bereits daran.
Seit 16.4.2015.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1.7k
- Forks
- 236
- Ø Merge
- 21 T. 13 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.