Bill Schnurr

Results 205 comments of Bill Schnurr

can you please upload the logs, see these docs https://github.com/microsoft/pylance-release/blob/main/TROUBLESHOOTING.md#filing-an-issue

no, you need the python extension's language server setting set to pylance "python.languageServer": "Pylance" double check pylance is installed ![image](https://user-images.githubusercontent.com/1946977/172209018-3bf82b7d-2c78-45a3-a3f9-cfaf863f10d7.png)

@OmerFI what are you expecting? currently it shows the `__init__` text ![image](https://user-images.githubusercontent.com/1946977/162835128-2acb72a4-9d27-454b-9f66-7e363654c6d2.png)

> I can confirm that the issue is still present. Here is another example, which illustrates that of two methods defined _in the same file and for the same class_,...

if you `go to def` on convert_dtypes does it take you NDFrame class's convert_dtypes with docstring?

> @bschnurr > > When I use Numpy style docstring, it is shown beautifully, like: > > ![docstring-numpy](https://user-images.githubusercontent.com/54645034/162836569-ef3325b7-5843-4aea-a305-60c6e87cd3d3.png) > > But, this is not the case with Sphinx style docstring:...

parser code here https://github.com/microsoft/pyright/blob/main/packages/pyright-internal/src/analyzer/docStringConversion.ts

R you requesting something like this? ``` This is a Sphinx Stype Docstring :param a: variable 1 :type a: int :return: a :rtype: int ``` to ``` This is a...

Newest improvements to docstrings about to be released. ![image](https://user-images.githubusercontent.com/1946977/106811744-a1d65980-6623-11eb-8bea-cc8fafc20c39.png)

see point 3 in https://github.com/microsoft/pyright/blob/master/docs/type-stubs.md#cleaning-up-generated-type-stubs for tips on how to add types to decorators.