Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jupyter-like docstring view in Atom.io

Tags:

People also ask

How do I view a Docstring in Jupyter?

Shift + Tab will show you the Docstring (documentation) for the the object you have just typed in a code cell – you can keep pressing this short cut to cycle through a few modes of documentation.

Can you use Jupyter notebooks in Atom?

All the power of Jupyter kernels, inside your favorite text editor. And so far, it is true and I'm loving it on my MacOS 10.15. It turns your Atom text editor into a Jupyter-like notebook! Plus Atom is a lightweight text editor with plenty of packages to make it an awesome code editor.


This question has to do with getting Jupyter Notebook docstring functionality to work in Atom. I appreciate any and all advisement.

Jupyter Notebook

In the Jupyter Notebook you are able to access the docstring via shift-tab and expand and scroll through the docstring as well as select and copy-paste from it into the cells.

Atom Editor running IPykernel

In the Atom Editor running the IPykernel I can see part of the docstring via autocomplete-python package, but I am unable to scroll through the docstring's full length, nor am I able to select from it for copy-pasting.

I cannot find a hotkey to make Atom open a browsable and selectable docstring as in Jupyter Notebook. Anybody have any ideas?

My keycap.cson file contains the following:

 'atom-text-editor': 'enter':          'editor:newline' 'shift-tab': 'language-python: toggle-all-docstrings'  

But this does nothing....