-
Notifications
You must be signed in to change notification settings - Fork 1.7k
DocCommentOwner and symbols #186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yep! |
SGTM, though ideally it would be better to load docstrings for FileSymbols on demand. I think LSP has some support for this even (the method was called |
Actually should I just make a |
Probably not: pattern bindings ( |
Hm I don't see anything like |
@matklad This is possibly the stupidest question ever but how the heck can I go from a |
@kjeremy there's no easy way to do that, unfortunately. You basically have to check manually for each concrete type which can be a |
196: Hover: Show documentation r=matklad a=kjeremy Closes #186 Co-authored-by: Jeremy A. Kolb <[email protected]>
196: Hover: Show documentation r=matklad a=kjeremy Closes #186 Co-authored-by: Jeremy A. Kolb <[email protected]>
I'm sketching out some sort of hover support and as a first step was just going to display any documentation associated with a
FileSymbol
symbol. I was thinking of making anOption<string>
onFileSymbol
for documentation.FnDef
is already aDocCommentOwner
and I believe at leastModule
should be. Does it make sense to implementDocCommentOwner
for the ones below too?The text was updated successfully, but these errors were encountered: