-
-
Notifications
You must be signed in to change notification settings - Fork 645
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
Show related vars in doc buffers #1736
Comments
@bbatsov I would like to take this up :-) 🚀 |
Deal! :-) On Friday, 6 May 2016, Chaitanya Koparkar notifications@github.com wrote:
Best Regards, |
Let me know if I can help you out with any of the subtasks Chaitanya
|
@sanjayl Will do :-) |
This is what I have so far.
I've covered the basics. Although I'm gonna look into making this
The clojuredocs repo provides its mongodb database which includes
I've added the basic buttons. But, like emacs doc buffers,
Is is because we want the user defined namespaces to have this feature too ? |
This should be easy. Guess we can show namespaces in the docs buffer only when the related symbols are in another namespace.
It's ok, but both the keys and the values should have namespaces as well.
Yeah, it would be nice to have those buttons. This has been on my mind for a while.
Yep. |
Why keywords instead of symbols? |
Personally, I don't think that's important. I don't see people using elisp to add documentation to their Clojure code. |
Yeah, this is not very important in general. But it'd be trivial to On Sunday, 8 May 2016, Artur Malabarba notifications@github.com wrote:
Best Regards, |
Just to clarify - I think it'd be nice to see for any var mentions in the docstring of the things we're showing documentation for and generate some potential "see also" links for them. |
@Malabarba I haven't actually done any comparisons between the two. Keywords seemed natural for a map lookup. Do you think symbols would be better ? @bbatsov Yep, understood. It would be really cool to have that. Ill submit a PR by tomorrow. |
IIUC, the client will not give you a keyword, and you want to display function names (not keywords) to the user. I could see using either strings or symbols, but keywords don't really get you any benefit. |
@Malabarba Yep. You're right. I'll store them as strings. The middleware gets the input as a string. |
Fixed by #1742. |
I've filed another ticket 1746 for the docstring parser and am gonna start working on it today. |
For a while I wanted to implement for our doc buffers the following functionality - when you lookup some symbol in its doc buffer you also see some links to other related symbols. Something pretty similar to
See also
in https://clojuredocs.org/clojure.core/mapThis should be pretty simple to implement, but will require some manual work:
@cskksc @sanjayl Perhaps one of you would be interested in tackling this? :-)
The text was updated successfully, but these errors were encountered: