How to set the auto-completion function of code in jupyter notebook
1. Install the corresponding required modules
Open anaconda's PowerShell (with Prompt)
Direct input: pip install jupyter_contrib_nbextensions and press
Enter to start the installation.
Successful installation shows:
When "successful installed" appears, the installation is successful
2. Enable user configuration
After the installation is successful according to the operation of 1;
enter: jupyter contrib nbextension install --user to configure the user.
Reopen and open jupyter notebook by step 1 and
find that the top menu bar has more nbextensions options
3. Enable the auto-completion function.
Unlock the check and check the Highlight selected word
You can successfully use the code auto-completion function
Demo:
input some letters> press tab key> select target code