Skip to content
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

Support eldoc. #25

Closed
austinhaas opened this issue Nov 3, 2020 · 4 comments
Closed

Support eldoc. #25

austinhaas opened this issue Nov 3, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@austinhaas
Copy link
Owner

This causes the current function symbol (based on point) to display in the minibuffer with its argument lists.

Intial support: 94f7da1

Barely tested in clj, not cljs. Seems to work, but needs improvement.

Known issues:

  • Doesn't know how to handle special forms. Prints if: <unknown symbol>. One possible solution might be to get the documentation for the symbol and parse it; seems like what we want is on the 3rd line after a couple spaces.
@austinhaas austinhaas added the enhancement New feature or request label Nov 3, 2020
@austinhaas
Copy link
Owner Author

This seems to be working pretty well on the dev branch. It handles the special forms and it works on cljs. I've found a few edge cases that it doesn't know how to handle, like keywords, and I'm filtering those out, but there doesn't seem to be very many, and they are easy to avoid once I know about them. The main thing preventing me from merging this into the main branch is #28 and #29.

@austinhaas
Copy link
Owner Author

austinhaas commented Jun 27, 2021

Alpha support has been merged into main branch.

@austinhaas
Copy link
Owner Author

austinhaas commented Jul 1, 2021

This is one of the main outstanding issues: #30

(edit: This comment no longer applies to the current eldoc implementation, which uses an offline database.)

@austinhaas
Copy link
Owner Author

Latest alpha version in v0.0.6 seems to work ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant