Tuesday, 7 August 2018

Jupyter-like docstring view in Atom.io

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....



from Jupyter-like docstring view in Atom.io

No comments:

Post a Comment