-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Regression in eldoc #133
Comments
How do you suggest addressing that, short of reverting that change? |
Perhaps we can make the change opt-out via an option and make |
I don't think we need to overcomplicate this. There are already a ton of config options that nobody knows/uses.
I though this was the intention of the change, so perhaps we should just update the tests in |
I don't think showing a wrong eldoc for a different ns is correct behavior. i.e. if I'm editing a given ns, it's fair enough to assume that an unqualified But if querying a different ns, |
But you can't know this before the |
One cannot necessarily know if the ns in question is evaluated... with tools.namespace is less obvious than it sounds (e.g. it can unload namespaces, fail, leave things uneval'd) I'll check out again the logic/integration in question. Maybe we can easily distinguish these two cases?
|
I think you're right, we can limit this fallback behavior to unqualified symbols. |
Makes sense to me as well. |
https://app.circleci.com/pipelines/github/clojure-emacs/cider-nrepl/448/workflows/ab0029aa-c7c9-45d2-9071-d5692ea11aad/jobs/3661
i.e. querying eldoc for
non.existing/+
will show the doc forclojure.core/+
.This is caused by 7d7f752
It's not a critical bug, anyway @plexus could you please take a look?
The text was updated successfully, but these errors were encountered: