You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classHuman:
#: This person's date of birthdob: datetime
And this code:
h=humanh.dob
When fetching the "hover" information (e.g.: textDocument/hover, vim.lsp.buf.hover() on neovim) with the cursor on dob this shows the documentation for the type (e.g.: datetime) in this case.
I think that it would be very useful to show the documentation right above the field, instead of the documentation for type type. This particular format is used by sphinx, so a lot of code-bases (e.g.: Django) use this to document fields. In most contexts, the docs for the field are far more relevant/useful that the docs for the type.