Mike
Mike

Reputation: 1539

vscode docstrings not appearing properly

I have no idea why I am experiencing this issue. In past projects (On a different computer with a different OS) I have had no issues displaying docstrings. When I write a docstring, it should show something like this.

Working docstring

Instead, my docstrings are not being formatted properly, and I am getting the following.

Incorrect Formatting

Any idea why this is happening and how to fix it? I am using VScode, and don't think anything needs to be installed to solve this. Thanks!

Upvotes: 4

Views: 6565

Answers (1)

Brett Cannon
Brett Cannon

Reputation: 16000

If you changed your language server that will shift how the docstrings get rendered (e.g. went from Jedi to MPLS or vice-versa). You can 👍 the issue tracking improving docstring support to help prioritize that work to try and handle this sort of thing.

Upvotes: 1

Related Questions