Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to trigger vscode intellisense using keyboard on osx?

All the docs keep referring to ⌃Space to launch intellisense so as to get suggestions for config files, launch configs etc. As I understand from this chart that translates to the key combination control-space.

However on mac 10.11 ⌃Space only opens OSX Spotlight. How do I trigger vscode intelisense from the keyboard on a mac?

like image 250
vy218 Avatar asked May 15 '19 06:05

vy218


People also ask

How do I activate IntelliSense code in Visual Studio Mac?

Pressing Tab or Enter will insert the selected member. You can trigger IntelliSense in any editor window by typing Ctrl+Space or by typing a trigger character (such as the dot character (.)

How do I invoke IntelliSense?

You can invoke Complete Word by choosing Edit > IntelliSense > Complete Word, by pressing Ctrl+Space, or by choosing the Complete Word button on the editor toolbar.

What is the equivalent of Ctrl K on Mac?

The feature invoked by ctrl-k is called “Check Names.” On a Mac the equivalent keyboard shortcut is the relatively awkward Control-⌘-C.


Video Answer


1 Answers

I am using vs code on Mac and I am a CJK user. Ctrl+Space is a shortcut for switching IMEs on my Mac.

If you open the keyboard shortcut pane (just press Command + K, then followed by Command+S), then search for trigger suggest, you will find that there are actually two shortcuts for this function:

enter image description here

So in case Ctrl + Space is taken by other programs. You can use Option + Esc to trigger suggestions. If you are using a Windows keyboard, Option key is Alt. You can also change the keybindings for this command as suggested by @Atilla Baspinar.

like image 53
jdhao Avatar answered Nov 03 '22 15:11

jdhao