I heard SHIFT+TAB
is the keyboard shortcut for Jupyter Notebook to show function docstring. However, I don’t get this functionality in my environment as described in the topic.
I believe works in Jupyter so it is either your keyboard situation or you might need to seek help with VSCode folks?
You should be able to easily gain some insight into this by testing this right now directly with vanilla Jupyter Notebook 7, specifically 7.5.0a1 as of now. Go to here to the Jupyter Notebook repo and near the top there click on the ‘launch binder
’ badge. Presently, that will spin up a session on a remote, virtual machine with the ipykernel.
I did that and then tried things. And they worked using shift+Tab
:
I used the example from the issue ‘Open the help in a bottom panel’ first and then since you specificially mentioned ‘function docstring’, I tried a function, too. Both worked with shift+Tab
in Chrome.
What happens in you case if you try that on your machine?
Related resources:
vs code shows docstrings by default during typing or on mouse hover. no need to use any keyboard shortcuts.