microsoft / microsoft/TypeScript

Parameter hints do not get dismissed when the cursor moves

Abierto
#29,430 11 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Awaiting More Feedback Domain: LS: Signature Help Suggestion
Lenguaje dominante
Go
Estrellas
111k
Forks
14.3k
Merge medio
1 d 19 h
PR fusionados (30 d)
117

Descripción

Presently, it appears that the parameter hint window does not get dismissed if it is brought up when invoking a function within the argument list of another function and you move out of the inner function's argument list. The popup changes to reflect its new position, but this is not a generally useful thing and in something like a giant argument list like a call to webpackMerge this is incredibly irritating. Couple this with the fact that the Vim extension does not dismiss the param hints when you press escape and it's pretty rough.

It would be really nice if the parameter hints were dismissed when leaving the current argument list. I can see an argument for it remaining open while navigating around the current argument list, but if the cursor leaves that list and goes to an outer list, it should be dismissed.

Thanks!

  • VSCode Version: 1.27.0 - insiders and 1.26.0
  • OS Version: macOS 10.13.6

Steps to Reproduce:

  1. Open a new file

  2. Change to javascript mode

  3. Enter the text:

    const path = require('path')
    
    Array.isArray([
      baz,
    
    ])
    
  4. Place cursor on line after baz

  5. Type Array.apply(. The parameter hint overlay should appear.

  6. Press the up arrow.

Expected:
Parameter hint window is dismissed

Actual:
Parameter hint window remains covering code

Does this issue occur when all extensions are disabled?: Yes

parameterhints

Guía de contribución

Abrir la guía de contribución

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.

Línea de trabajo

No se indica ningún archivo fuente ni ninguna prueba. Empieza reproduciendo el ejemplo de JavaScript en VS Code, incluido mover el cursor fuera de la lista de argumentos interna; se considera terminado cuando la ventana de sugerencias de parámetros se cierra al salir de esa lista y el comportamiento descrito queda cubierto por una prueba de regresión.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript, vscode
Área
developer-experience, tooling
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.