Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to trigger destruct hints in Visual Studio Code?

const { } = getUser();

I remember on Windows os, I used to position the cursor inside the destruct brackets and use ctrl + space or something similar to show the hints for the fields. Then use up/down arrow to select the wanted field. Projects use Typescirpt. Say user object has id and name fields, ctrl + space would show both.

Is there a way to do that on Mac-os? This solution does not work. Maybe the word is not hint, but rather show fields or something like that. Please correct if necessary.

like image 955
ZenVentzi Avatar asked Dec 15 '25 05:12

ZenVentzi


1 Answers

Make sure your Trigger Suggest is bound the the right combination

enter image description here

like image 83
Ali Habibzadeh Avatar answered Dec 16 '25 19:12

Ali Habibzadeh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!