Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VisualCode Shortcut to display autocomplete list before typing in MacOS

I am trying to display all possible words after putting the cursor in certain place in the code.

The autocomplete list appears when I start writing/typing:

enter image description here

However, I would like to see all suggested words even before typing.

I tried [Cmd] + [Space], however it was a system shortcut for Search in MacOS

enter image description here

Any thoughts?

like image 430
Abdennour TOUMI Avatar asked Jul 14 '18 16:07

Abdennour TOUMI


People also ask

How do I enable autocomplete in VS Code?

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 use autocomplete on Mac?

In the Safari app on your Mac, use AutoFill preferences to fill in contact information, user names and passwords, credit card information, and other forms on webpages. To change these preferences, choose Safari > Preferences, then click AutoFill. Complete forms with information from any contact card in Contacts.

How do I get VS Code suggestions on Mac?

By default the shortcut to trigger intellisense on VS Code (for mac) is ⌃ – Control + Space .

How do I turn on autocomplete in Visual Studio?

The suggestion list of Basic completion appears when you press the default Visual Studio IntelliSense shortcut Ctrl+Space . If necessary, you can always return to the Visual Studio's native's IntelliSense. To do so, select Visual Studio on the Environment | IntelliSense | General page of ReSharper options ( Alt+R, O ).


2 Answers

In case that you are a CJK user using Mac, Ctrl + Space will not work, since it is used to switch IMEs. There is another keyboard shortcut for triggering suggestions: Option + Esc or Alt + Esc if you are using a Windows keyboard.

Also see post here.

VS code version: 1.41.1

like image 153
jdhao Avatar answered Oct 12 '22 19:10

jdhao


I solved this problem using fn + control + space. Hope it helps you

like image 22
Alexandre Leite Avatar answered Oct 12 '22 18:10

Alexandre Leite