microsoft / microsoft/TypeScript-Sublime-Plugin

Find all references highlights all instances of symbol text

Abierto
#59 4 comentarios 0 reacciones 1 asignado Ver en GitHub

@steveluc ya está trabajando en esto.

Desde el 16/4/2015.

Bug
Lenguaje dominante
JavaScript
Estrellas
1.7k
Forks
236
Merge medio
21 d 13 h
PR fusionados (30 d)
1

Descripción

Find all references should only highlight the symbol, not all instances of the symbol text.

Steps to reproduce:

  1. Copy this text into a new .ts file:

class Foo {
public method(method: any) {
}

public test() {
    this.method(null);
}

}

  1. 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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.