Is it possible to have autocomplete in a notebook in Google Colab?

Yup. Press control space (or command space, on a Mac) and autocomplete suggestions will appear.

enter image description here


I'm on a macbook pro, Option+ Esc performs autocomplete for me.


Press Ctrl + space for Mac, as well as for Windows.
Works like magic, see the image below:

enter image description here


If you navigate to Settings... and then uncheck "Automatically trigger code completions":

enter image description here enter image description here

...you'll then be able to use tab-to-complete like in a conventional Jupyter notebook. From the Keyboard Shortcuts page of the Colaboratory app:

enter image description here