In an early Beta version of the micro:bit Python Editor v3, we added a new feature called autocomplete. 

Beta testers helped us ensure that the autocomplete feature is now fully utilised in the released version 3 of the micro:bit Python Editor. Autocomplete allows users to view the various functions within a module, providing a deeper understanding of the features available to them and facilitating the creation of working programs. 


For more information on how to use the autocomplete feature in the current micro:bit Python Editor, see https://microbit.org/get-started/user-guide/python-editor/ section 5.


It’s important to note that the autocomplete isn’t aware of your import statements, so you’ll still need to check that your code is correct before transferring it to your device.



Remember that typing:

 import microbit


 Means you should then use:

microbit.display.scroll


 Whereas typing:

from microbit import display

Or typing:

from microbit import *

Allows you to write:

 display.scroll


The sample code provided in the latest micro:bit Python Editor uses 'from microbit import *' as default.


You can learn more about what this means by reading about the difference between import microbit and from microbit import.