How to show python docstring for installed libraries in sublime text

19 Views Asked by At

I have sublime text 4, and installed lsp and lsp/pyright for code autocompletion in python, however pyright doesn't show docstring for installed libraries or for python core libraries.

I did my Googling and it seems this is the intended behavior for pyright, so what to do to show docstrings in sublime text? I don't want to use Anaconda plugin by the way.

See also: https://forum.sublimetext.com/t/python-function-method-docstrings-are-not-showing-in-code-completions/68295

Edit

Are there any guidelines how to implement this feature myself may be as a sublime package or an extension to pyright?

0

There are 0 best solutions below