In my example I'm using TypeScript, so let's say I have a TypeScript Interface like this:
interface Item {
name: string,
qty: number,
price: number
}
When I go to implement this, I start typing something like this:
const item = <Item>{
}
now, with the current behavior I would type in a character, and IntelliSense will popup with some suggested parameters that have that character in it, for example if I enter e
it will pop up with name
and price
but not qty for obvious reasons.
So I sometimes forget all the parameters, and I find myself hitting a random letter on my keyboard hoping that the parameter I'm trying to remember contains that character.
Is there any way to make it so when I open up those brackets, or hover over them, it just shows me ALL the parameters for this Interface?
Try Ctrl+space.
From https://code.visualstudio.com/docs/editor/intellisense:
You can trigger IntelliSense in any editor window by typing Ctrl+Space or by typing a trigger character (such as the dot character (.) in JavaScript).