microsoft / microsoft/TypeScript
Parameter hints do not get dismissed when the cursor moves
Nessuno ha ancora preso questa issue.
- Lingua principale
- Go
- Stelle
- 111k
- Fork
- 14.3k
- Merge medio
- 1g 19h
- PR unite (30g)
- 117
Descrizione
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

Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Non viene indicato alcun file sorgente né alcun test. Inizia riproducendo l’esempio JavaScript in VS Code, incluso lo spostamento del cursore fuori dall’elenco degli argomenti interno; il lavoro è completato quando la finestra dei suggerimenti dei parametri viene chiusa uscendo da quell’elenco e il comportamento segnalato è coperto da un test di regressione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, vscode
- Ambito
- developer-experience, tooling
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 35/100