notebook icon indicating copy to clipboard operation
notebook copied to clipboard

Show documentation tooltips as in jupyter notebook 6.*

Open BrunoBelucci opened this issue 2 years ago • 5 comments
trafficstars

Problem

Jupyter Notebook 7 does not have the feature of expanding/opening the docstring tooltip with 2x shift + tab or 4x shift tab, which I use all the time when working with Jupyter Notebook 6.*. Check https://discourse.jupyter.org/t/show-documentation-tooltips-as-in-jupyter-notebook-6/21268 for further discussion.

Proposed Solution

@krassowski suggested that this "could be implemented by opening contextual help/inspector widget in the sidebar." I am not familiar with the project and the codebase, so I cannot develop it further. I can only speak from the point of view of the user and say that this is one of the features that I most use when working with jupyter, particularly when getting used to new libraries.

Additional context

I will link the same image that I used in the original discussion. image

1: When we press shift + tab in the ‘old’ interface

2: When we press 4x shift + tab in the ‘old’ interface

3: When we press shift + tab in the ‘new’ interface

Note that even the icons (arrow, + and x) are missing.

BrunoBelucci avatar Sep 05 '23 18:09 BrunoBelucci

Previous issue about this: https://github.com/jupyter/notebook/issues/6692

krassowski avatar Sep 06 '23 15:09 krassowski

Note: in classic Notebook shortcuts compatibility mode this should be mapped to F1

krassowski avatar May 14 '24 10:05 krassowski

@krassowski Actually, in classic notebook the F1 shortcut opens help in a pager in bottom panel. Sorry, if I confused you in the other issue..

janxkoci avatar May 14 '24 16:05 janxkoci

No sorry, that's my mistake - I commented on the wrong issue, I should have added my comment in https://github.com/jupyter/notebook/issues/6692 which does discuss the pager panel on the bottom.

krassowski avatar May 14 '24 16:05 krassowski

I commented there moments ago, so hopefully it's clear now :sweat_smile:

janxkoci avatar May 14 '24 16:05 janxkoci