microsoft / microsoft/TypeScript
Parameter hints do not get dismissed when the cursor moves
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Go
- Sterne
- 111k
- Forks
- 14.3k
- Ø Merge
- 1 T. 19 Std.
- Gemergte PRs (30 T.)
- 117
Beschreibung
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

Beitragsleitfaden
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.
Rechercherichtung
Es wird keine Quelldatei und kein Test genannt. Beginne damit, das JavaScript-Beispiel in VS Code zu reproduzieren, einschließlich des Herausbewegens des Cursors aus der inneren Argumentliste; als erledigt gilt die Aufgabe, wenn das Fenster mit dem Parameterhinweis beim Verlassen dieser Liste geschlossen wird und das berichtete Verhalten durch einen Regressionstest abgedeckt ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, vscode
- Bereich
- developer-experience, tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 35/100