-
Notifications
You must be signed in to change notification settings - Fork 81
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
julia/getDocAt handler #744
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm changing this to a draft, because it is not ready to be merged or reviewed, right?
78cf9cb
to
592f646
Compare
@aviatesk needs a merge conflict resolution. |
return mismatched_version_error(uri, doc, params, "getDocAt") | ||
end | ||
|
||
x = get_expr1(getcst(doc), get_offset(doc, params.position)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be get_expr
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to merge this now, just so that it is easier to work on the corresponding PR over in the extension itself. There is still the comment from @pfitzseb whether this is using the right function, but I think we can address that in a follow-up PR.
show document for `const` variables, follow up #744
supersedes #377
currently just borrows logics of
get_hover
, and many TODOs left:- [ ] handle links (e.g.@ref
)- [ ] horizontal line separators- [ ] documentations on variables, structs- [ ] more accurate documentation retrieve (e.g.Base.sin
)Let's address those TODOs later, hacking in LS will take some time.