Support sphinx doc strings #4416
Replies: 6 comments 1 reply
-
That comment had 21 upvotes before I created this. |
Beta Was this translation helpful? Give feedback.
-
Moving this issue to discussion as an enhancement request for comments and upvotes. |
Beta Was this translation helpful? Give feedback.
-
I too would love to see some proper docstring support in VSCode, it's hideous looking at unparsed strings |
Beta Was this translation helpful? Give feedback.
-
Another similar request from user: #4445 |
Beta Was this translation helpful? Give feedback.
-
Like most of Python, sphinx provided a feature that the python spec did not handle. Many older codebases use sphinx (as well as most(all?) readthedocs sites) to provide docstrings. Are there any docstring comment formats that are formatted/rendered by pylance? |
Beta Was this translation helpful? Give feedback.
-
This should be implemented now under the |
Beta Was this translation helpful? Give feedback.
-
For the sake of not making new duplicate tickets, I would like to continue the discussion that is exactly related to "The Sphinx docstring hover may be more pretty". The Sphinx website shows an example rendering of how their syntax is meant to be used: https://www.sphinx-doc.org/en/master/usage/restructuredtext/domains.html#info-field-lists
This is the expected rendering, which would bring it to parity with the same feature in PyCharm and match Sphinx's documentation.
Originally posted by @jeremyvital4 in #1113 (comment)
Beta Was this translation helpful? Give feedback.
All reactions