I would like to see the documentations of types when hovering over a variable.
For example
<code>M = Literal[3]
N = Literal[2]
MxN = np.ndarray[tuple[M,N], np.dtype[np.int32]]
"""
A type for an MxN matrix
"""
A_MxN: MxN
</code>
<code>M = Literal[3]
N = Literal[2]
MxN = np.ndarray[tuple[M,N], np.dtype[np.int32]]
"""
A type for an MxN matrix
"""
A_MxN: MxN
</code>
M = Literal[3]
N = Literal[2]
MxN = np.ndarray[tuple[M,N], np.dtype[np.int32]]
"""
A type for an MxN matrix
"""
A_MxN: MxN
Leads to:
But can I display the documentation on variable hover, too?
Is there an editor like vs-code or pycharm or a plugin/extension which supports that? If so, how can I enable it?
4