microsoft / microsoft/TypeScript
Parameter hints do not get dismissed when the cursor moves
Nadie ha tomado este issue todavía.
- 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:
-
Open a new file
-
Change to javascript mode
-
Enter the text:
const path = require('path') Array.isArray([ baz, ]) -
Place cursor on line after
baz -
Type
Array.apply(. The parameter hint overlay should appear. -
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

Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- 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