Auto expand suggestion details in VSCode

Viewed 676

I'm using VSCode.

When trying to use autocomplete, I get that kind of collapsed box which is not very useful. It forces me to use my mouse.

How to get that "Auto import from ..." always expanded ?

Preview

2 Answers

You are looking for the following command id:

toggleSuggestionDetails

Defaults to CTRL + SPACE [windows], while the suggestion list is active: suggestWidgetVisible && textInputFocus

For brevity, the command is a toggle, so you only need to enable it once and the toggle state persists.

Alternatively, if you just want parameter hints you can search for the following command id:

editor.action.triggerParameterHints

Which defaults to CTRL + shift + space [windows]

I had a look to the keyboard shortcuts and I realized you can expand the details by pressing CTRL + space another time.

Related