visual studio – VSCODE not showing documentation on hover for external libraries in python for ipynb files


Ok, everytime I import an external library(any external library) in an ipynb file, vscode doesn’t show any documentation whatsoever for the external library functions(almost all the time). I have faced this issue multiple times, with almost any library.

For example,
suppose I import a library and use a method in the albumentations library that I installed from pip:
enter image description here

When I hover over it with mouse, it shows me this:

enter image description here

The library does indeed get imported correctly, and I can use its functions perfectly well. I just don’t know why it doesn’t show the documentation on hover.

Any idea how to get it to work with showing the full and proper documentation that I expect to see normally with any standard ide. I don’t have this problem with intellij, and I expect this to work with vscode as well. Have I configured something wrong here? Is there some setting that should be enabled to get this to work? Why is it that it doesn’t work with any external library that I install with pip?

Edit:
I am aware of doing A.Rotate? and getting the documentation, but I want to know how to do it with hover in particular because its a minimum level of convenience that I expect from an editor

Leave a Reply

Your email address will not be published. Required fields are marked *