Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a docstring autocompletion tool for jupyter notebook?

I am looking for a tool/extension that helps you writing python docstrings in jupyter notebook.

I normally use VS code where you have the autodocstring extension that automatically generates templates (e.g. the sphinx or numpy template) for docstrings. Is there an equivalent to this in jupyter notebook?

I have been looking online for a long time now, but have trouble finding it.

like image 357
Ottotos Avatar asked Feb 08 '19 14:02

Ottotos


Video Answer


1 Answers

run this in a Notebook cell:

%config IPCompleter.greedy=True

Then press tab where you want to do autocomplete.

(Extracted from Reddit post)

like image 71
Bit-Man Avatar answered Nov 14 '22 23:11

Bit-Man